Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Media.Examples.WaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Annex60.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Annex60.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001674/0.001674, allocations: 191.1 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.558/1.558, allocations: 205.1 MB / 222.1 MB, free: 4.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4107/0.4107, allocations: 54.93 MB / 324.4 MB, free: 112 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 64.28 kB / 394.9 MB, free: 12.18 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1573, allocations: 59.59 MB / 454.4 MB, free: 0.5195 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.285/0.4423, allocations: 4.035 MB / 458.5 MB, free: 37.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001513/0.4425, allocations: 144.5 kB / 458.6 MB, free: 37.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.037e-05/0.4425, allocations: 2.688 kB / 458.6 MB, free: 37.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001017/0.4427, allocations: 4.781 kB / 458.6 MB, free: 37.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.046e-05/0.4428, allocations: 16.55 kB / 458.6 MB, free: 37.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002965/0.4431, allocations: 66.22 kB / 458.7 MB, free: 37.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8.026e-05/0.4432, allocations: 31.53 kB / 458.7 MB, free: 37.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.673e-05/0.4432, allocations: 6.156 kB / 458.7 MB, free: 37.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.437e-05/0.4433, allocations: 9.359 kB / 458.8 MB, free: 37.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.07e-05/0.4433, allocations: 15.11 kB / 458.8 MB, free: 37.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.042e-05/0.4433, allocations: 0 / 458.8 MB, free: 37.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001702/0.4435, allocations: 58.59 kB / 458.8 MB, free: 37.72 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.098e-05/0.4436, allocations: 10.25 kB / 458.8 MB, free: 37.72 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.342e-05/0.4436, allocations: 6.812 kB / 458.8 MB, free: 37.71 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001199/0.4437, allocations: 47 kB / 458.9 MB, free: 37.71 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.4437, allocations: 0 / 458.9 MB, free: 37.71 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.4437, allocations: 0.9062 kB / 458.9 MB, free: 37.71 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.4438, allocations: 0 / 458.9 MB, free: 37.71 MB / 382.1 MB 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.0003404/0.4441, allocations: 335.2 kB / 459.2 MB, free: 37.36 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.4441, allocations: 11.38 kB / 459.2 MB, free: 37.36 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.121e-05/0.4442, allocations: 6.344 kB / 459.2 MB, free: 37.36 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.011e-05/0.4443, allocations: 167.4 kB / 459.4 MB, free: 37.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.901e-05/0.4443, allocations: 26.95 kB / 459.4 MB, free: 37.13 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.854e-06/0.4444, allocations: 3.188 kB / 459.4 MB, free: 37.13 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001282/0.4445, allocations: 48.83 kB / 459.5 MB, free: 37.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.4445, allocations: 0 / 459.5 MB, free: 37.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.4445, allocations: 1.703 kB / 459.5 MB, free: 37.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.967e-05/0.4446, allocations: 3.328 kB / 459.5 MB, free: 37.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.387e-05/0.4446, allocations: 20.91 kB / 459.5 MB, free: 37.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003721/0.445, allocations: 332.6 kB / 459.8 MB, free: 36.73 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.176e-05/0.445, allocations: 21.83 kB / 459.8 MB, free: 36.71 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.5e-05/0.4451, allocations: 5.844 kB / 459.9 MB, free: 36.7 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.297e-05/0.4451, allocations: 86.66 kB / 459.9 MB, free: 36.61 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.4451, allocations: 37.56 kB / 460 MB, free: 36.57 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.4452, allocations: 0 / 460 MB, free: 36.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001306/0.4453, allocations: 38.08 kB / 460 MB, free: 36.54 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.509e-05/0.4453, allocations: 52.66 kB / 460.1 MB, free: 36.47 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.981e-05/0.4454, allocations: 99.86 kB / 460.2 MB, free: 36.38 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/0.4454, allocations: 28.89 kB / 460.2 MB, free: 36.34 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.925e-05/0.4454, allocations: 82.64 kB / 460.3 MB, free: 36.26 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.584e-06/0.4455, allocations: 10.78 kB / 460.3 MB, free: 36.26 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.519e-05/0.4455, allocations: 12.62 kB / 460.3 MB, free: 36.24 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.787e-05/0.4455, allocations: 322.5 kB / 460.6 MB, free: 35.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.263e-05/0.4456, allocations: 4.219 kB / 460.6 MB, free: 35.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.917e-05/0.4456, allocations: 17.97 kB / 460.6 MB, free: 35.91 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.017e-05/0.4456, allocations: 26.61 kB / 460.7 MB, free: 35.89 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.4456, allocations: 0.9062 kB / 460.7 MB, free: 35.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.171e-05/0.4457, allocations: 45.44 kB / 460.7 MB, free: 35.86 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.07e-05/0.4457, allocations: 5.281 kB / 460.7 MB, free: 35.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.4457, allocations: 4.125 kB / 460.7 MB, free: 35.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.4457, allocations: 3.281 kB / 460.7 MB, free: 35.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.215e-05/0.4458, allocations: 5.875 kB / 460.7 MB, free: 35.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.4458, allocations: 0 / 460.7 MB, free: 35.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.831e-05/0.4458, allocations: 9.969 kB / 460.7 MB, free: 35.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.4458, allocations: 2.531 kB / 460.7 MB, free: 35.86 MB / 382.1 MB 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.418e-05/0.4459, allocations: 123.2 kB / 460.9 MB, free: 35.74 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.427e-05/0.4459, allocations: 0 / 460.9 MB, free: 35.74 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.778e-05/0.446, allocations: 123.1 kB / 461 MB, free: 35.62 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.23e-05/0.4461, allocations: 179.3 kB / 461.1 MB, free: 35.44 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.822e-05/0.4461, allocations: 182.3 kB / 461.3 MB, free: 35.26 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.57e-05/0.4461, allocations: 180.2 kB / 461.5 MB, free: 35.08 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001313/0.4463, allocations: 408.4 kB / 461.9 MB, free: 34.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.68e-05/0.4463, allocations: 112.1 kB / 462 MB, free: 34.53 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.573e-05/0.4463, allocations: 107.6 kB / 462.1 MB, free: 34.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.511e-05/0.4463, allocations: 181.7 kB / 462.3 MB, free: 34.24 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.787e-05/0.4464, allocations: 178.3 kB / 462.5 MB, free: 34.06 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-05/0.4464, allocations: 181.6 kB / 462.6 MB, free: 33.88 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.642e-05/0.4464, allocations: 183.3 kB / 462.8 MB, free: 33.7 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.265e-05/0.4465, allocations: 304.9 kB / 463.1 MB, free: 33.39 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.237e-05/0.4465, allocations: 191 kB / 463.3 MB, free: 33.19 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.82e-05/0.4466, allocations: 176.3 kB / 463.5 MB, free: 33.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.4467, allocations: 108 kB / 463.6 MB, free: 32.91 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.845e-05/0.4467, allocations: 181.7 kB / 463.8 MB, free: 32.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.4467, allocations: 106.7 kB / 463.9 MB, free: 32.62 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.452e-05/0.4468, allocations: 81.97 kB / 463.9 MB, free: 32.55 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4468, allocations: 0.7188 kB / 463.9 MB, free: 32.55 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002252/0.447, allocations: 15.5 kB / 464 MB, free: 32.54 MB / 382.1 MB 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002203/0.4472, allocations: 200.9 kB / 464.2 MB, free: 32.38 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 6.719e-05/0.4473, allocations: 9.312 kB / 464.2 MB, free: 32.38 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4473, allocations: 7.312 kB / 464.2 MB, free: 32.38 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.102e-06/0.4473, allocations: 1.875 kB / 464.2 MB, free: 32.38 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/0.4476, allocations: 456.7 kB / 464.6 MB, free: 31.93 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002205/0.4479, allocations: 182 kB / 464.8 MB, free: 31.76 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001188/0.448, allocations: 0.6798 MB / 465.5 MB, free: 31.06 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.847e-05/0.448, allocations: 3.969 kB / 465.5 MB, free: 31.06 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.605e-05/0.448, allocations: 10.72 kB / 465.5 MB, free: 31.05 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.4481, allocations: 5 kB / 465.5 MB, free: 31.05 MB / 382.1 MB Notification: Performance of Templates: time 0.002538/0.4506, allocations: 0.5839 MB / 466.1 MB, free: 30.99 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f Annex60_1.0.0_Annex60.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Annex60_1.0.0_Annex60.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Annex60_1.0.0_Annex60.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Annex60_1.0.0_Annex60.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)