Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001889/0.001889, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8727/0.8727, allocations: 133.4 MB / 146.7 MB, free: 10.78 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.647/1.647, allocations: 221.3 MB / 400.4 MB, free: 5.863 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009618/0.0009615, allocations: 103.1 kB / 483.3 MB, free: 5.855 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.414e-05/3.416e-05, allocations: 6.891 kB / 0.56 GB, free: 87.89 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.1749, allocations: 82.31 MB / 0.6404 GB, free: 7.82 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.373/1.548, allocations: 351.1 MB / 0.9833 GB, free: 261.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002403/1.548, allocations: 71.41 kB / 0.9834 GB, free: 261.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03026/1.578, allocations: 13.27 MB / 0.9963 GB, free: 256.7 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.863e-06/1.579, allocations: 0 / 0.9963 GB, free: 256.7 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.087e-06/1.579, allocations: 3.812 kB / 0.9963 GB, free: 256.7 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003367/1.579, allocations: 326.1 kB / 0.9966 GB, free: 256.4 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.474e-05/1.579, allocations: 15.88 kB / 0.9967 GB, free: 256.4 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.567e-05/1.579, allocations: 4.609 kB / 0.9967 GB, free: 256.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/1.579, allocations: 166.9 kB / 0.9968 GB, free: 256.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.558e-05/1.579, allocations: 37.45 kB / 0.9969 GB, free: 256.1 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.068e-05/1.579, allocations: 0 / 0.9969 GB, free: 256.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001361/1.579, allocations: 41.53 kB / 0.9969 GB, free: 256.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/1.579, allocations: 0 / 0.9969 GB, free: 256.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/1.579, allocations: 0 / 0.9969 GB, free: 256.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.421e-05/1.579, allocations: 3.906 kB / 0.9969 GB, free: 256.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.173e-05/1.579, allocations: 19.73 kB / 0.9969 GB, free: 256.1 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004874/1.58, allocations: 334.1 kB / 0.9972 GB, free: 255.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 3.95e-05/1.58, allocations: 19.67 kB / 0.9973 GB, free: 255.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.915e-05/1.58, allocations: 7.047 kB / 0.9973 GB, free: 255.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.853e-05/1.58, allocations: 81.7 kB / 0.9973 GB, free: 255.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/1.58, allocations: 35.81 kB / 0.9974 GB, free: 255.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/1.58, allocations: 0 / 0.9974 GB, free: 255.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0001578/1.58, allocations: 39.53 kB / 0.9974 GB, free: 255.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.026e-05/1.58, allocations: 55.36 kB / 0.9975 GB, free: 255.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.321e-05/1.58, allocations: 90.75 kB / 0.9975 GB, free: 255.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/1.581, allocations: 29.64 kB / 0.9976 GB, free: 255.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.557e-05/1.581, allocations: 90.33 kB / 0.9977 GB, free: 255.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.553e-06/1.581, allocations: 0 / 0.9977 GB, free: 255.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.988e-06/1.581, allocations: 1.188 kB / 0.9977 GB, free: 255.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.795e-05/1.581, allocations: 318.9 kB / 0.998 GB, free: 254.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.327e-05/1.581, allocations: 5.938 kB / 0.998 GB, free: 254.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.11e-05/1.581, allocations: 17.25 kB / 0.998 GB, free: 254.9 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.03e-05/1.581, allocations: 3.938 kB / 0.998 GB, free: 254.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/1.581, allocations: 0 / 0.998 GB, free: 254.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001072/1.581, allocations: 53.62 kB / 0.998 GB, free: 254.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/1.581, allocations: 8.406 kB / 0.9981 GB, free: 254.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.944e-06/1.581, allocations: 2.375 kB / 0.9981 GB, free: 254.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/1.581, allocations: 0 / 0.9981 GB, free: 254.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.774e-05/1.581, allocations: 12.7 kB / 0.9981 GB, free: 254.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/1.581, allocations: 0 / 0.9981 GB, free: 254.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.339e-05/1.581, allocations: 5.453 kB / 0.9981 GB, free: 254.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/1.581, allocations: 3 kB / 0.9981 GB, free: 254.8 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.497e-05/1.581, allocations: 101 kB / 0.9982 GB, free: 254.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.802e-05/1.581, allocations: 2.844 kB / 0.9982 GB, free: 254.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001123/1.581, allocations: 127.6 kB / 0.9983 GB, free: 254.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.115e-05/1.581, allocations: 180.2 kB / 0.9985 GB, free: 254.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.059e-05/1.581, allocations: 178.5 kB / 0.9986 GB, free: 254.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.673e-05/1.581, allocations: 184.2 kB / 0.9988 GB, free: 254 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001758/1.582, allocations: 412.4 kB / 0.9992 GB, free: 253.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.416e-05/1.582, allocations: 108.2 kB / 0.9993 GB, free: 253.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.438e-05/1.582, allocations: 105 kB / 0.9994 GB, free: 253.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.899e-05/1.582, allocations: 180.2 kB / 0.9996 GB, free: 253.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.161e-05/1.582, allocations: 180.2 kB / 0.9998 GB, free: 253 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.548e-05/1.582, allocations: 182.5 kB / 0.9999 GB, free: 252.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.92e-05/1.582, allocations: 188.2 kB / 1 GB, free: 252.6 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001004/1.582, allocations: 308.3 kB / 1 GB, free: 252.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.669e-05/1.582, allocations: 188.7 kB / 1.001 GB, free: 252.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.164e-05/1.582, allocations: 176.3 kB / 1.001 GB, free: 251.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/1.582, allocations: 118 kB / 1.001 GB, free: 251.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.909e-05/1.582, allocations: 176.3 kB / 1.001 GB, free: 251.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.432e-05/1.582, allocations: 108.3 kB / 1.001 GB, free: 251.5 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.471e-05/1.582, allocations: 85.44 kB / 1.001 GB, free: 251.4 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.31e-07/1.582, allocations: 0 / 1.001 GB, free: 251.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002794/1.583, allocations: 18.77 kB / 1.001 GB, free: 251.4 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002305/1.583, allocations: 203.8 kB / 1.001 GB, free: 251.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 7.184e-05/1.583, allocations: 11.69 kB / 1.001 GB, free: 251.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/1.583, allocations: 0 / 1.001 GB, free: 251.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.723e-06/1.583, allocations: 0 / 1.001 GB, free: 251.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002536/1.583, allocations: 0.5308 MB / 1.002 GB, free: 250.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001784/1.583, allocations: 132.9 kB / 1.002 GB, free: 250.6 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001708/1.584, allocations: 0.6808 MB / 1.003 GB, free: 249.8 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.316e-05/1.584, allocations: 12.84 kB / 1.003 GB, free: 249.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.867e-05/1.584, allocations: 7.438 kB / 1.003 GB, free: 249.8 MB / 0.6823 GB Notification: Performance of SimCode: time 3.31e-07/1.584, allocations: 0 / 1.003 GB, free: 249.8 MB / 0.6823 GB Notification: Performance of Templates: time 0.003282/1.587, allocations: 0.8706 MB / 1.004 GB, free: 249.4 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)