Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Media.Examples.WaterProperties.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.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.WaterProperties") translateModel(Annex60.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 91.3 kB / 15.36 MB, free: 0.7383 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.01053/0.01053, allocations: 172.8 kB / 16.26 MB, free: 6.613 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.631/1.631, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4142/0.4142, allocations: 55.01 MB / 325.7 MB, free: 0.5352 MB / 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.000779/0.0007791, allocations: 12 kB / 397.2 MB, free: 11.37 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4399/0.4407, allocations: 60.71 MB / 458 MB, free: 38.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Examples.WaterProperties): time 0.004291/0.445, allocations: 4.34 MB / 462.3 MB, free: 37.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002146/0.4472, allocations: 2.63 MB / 464.9 MB, free: 36.28 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.532e-05/0.4473, allocations: 1.219 kB / 464.9 MB, free: 36.28 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002376/0.4476, allocations: 34.27 kB / 465 MB, free: 36.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002052/0.4478, allocations: 92.52 kB / 465.1 MB, free: 36.22 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007127/0.4485, allocations: 392.4 kB / 465.4 MB, free: 36.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002338/0.4487, allocations: 295.9 kB / 465.7 MB, free: 36.01 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.013e-05/0.4488, allocations: 16.27 kB / 465.7 MB, free: 36.01 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001507/0.4489, allocations: 100.6 kB / 465.8 MB, free: 35.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/0.4491, allocations: 92.47 kB / 465.9 MB, free: 35.95 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.4491, allocations: 6.812 kB / 465.9 MB, free: 35.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004542/0.4495, allocations: 354.4 kB / 466.3 MB, free: 35.89 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.688e-05/0.4496, allocations: 33.78 kB / 466.3 MB, free: 35.88 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.722e-05/0.4497, allocations: 103.7 kB / 466.4 MB, free: 35.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003913/0.4501, allocations: 336.2 kB / 466.7 MB, free: 35.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.4501, allocations: 0 / 466.7 MB, free: 35.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.4501, allocations: 1.375 kB / 466.7 MB, free: 35.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.4501, allocations: 0 / 466.7 MB, free: 35.75 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0005264/0.4506, allocations: 473.3 kB / 467.2 MB, free: 35.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.4507, allocations: 9.688 kB / 467.2 MB, free: 35.32 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001361/0.4508, allocations: 24.2 kB / 467.2 MB, free: 35.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001691/0.451, allocations: 211.2 kB / 467.4 MB, free: 35.11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.173e-05/0.451, allocations: 14.83 kB / 467.5 MB, free: 35.11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.135e-05/0.4511, allocations: 13.97 kB / 467.5 MB, free: 35.11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003113/0.4514, allocations: 252.5 kB / 467.7 MB, free: 35.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.4514, allocations: 0 / 467.7 MB, free: 35.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.432e-05/0.4514, allocations: 12.86 kB / 467.7 MB, free: 35.01 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.334e-05/0.4515, allocations: 9.328 kB / 467.7 MB, free: 35.01 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003863/0.4519, allocations: 426.3 kB / 468.2 MB, free: 35 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007737/0.4526, allocations: 1.006 MB / 469.2 MB, free: 34.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00022/0.4529, allocations: 157.8 kB / 469.3 MB, free: 34.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.143e-05/0.453, allocations: 61.62 kB / 469.4 MB, free: 33.99 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008807/0.4538, allocations: 1.826 MB / 471.2 MB, free: 31.96 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.577e-05/0.4539, allocations: 34.56 kB / 471.2 MB, free: 31.91 MB / 382.1 MB Notification: Performance of pre-optimization done (n=15): time 1.192e-06/0.4539, allocations: 0 / 471.2 MB, free: 31.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.0002612/0.4541, allocations: 144.1 kB / 471.4 MB, free: 31.85 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.31e-05/0.4542, allocations: 58.31 kB / 471.4 MB, free: 31.78 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.4543, allocations: 169.5 kB / 471.6 MB, free: 31.66 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.4543, allocations: 29.7 kB / 471.6 MB, free: 31.62 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.354e-05/0.4544, allocations: 146.6 kB / 471.8 MB, free: 31.49 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.769e-05/0.4544, allocations: 51.52 kB / 471.8 MB, free: 31.45 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.868e-05/0.4544, allocations: 24.64 kB / 471.8 MB, free: 31.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.52e-05/0.4545, allocations: 325 kB / 472.2 MB, free: 31.11 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.645e-05/0.4546, allocations: 36.75 kB / 472.2 MB, free: 31.1 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.677e-05/0.4547, allocations: 145.6 kB / 472.3 MB, free: 30.95 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001633/0.4548, allocations: 202.2 kB / 472.5 MB, free: 30.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.4548, allocations: 0 / 472.5 MB, free: 30.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002445/0.4551, allocations: 215.7 kB / 472.8 MB, free: 30.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.4551, allocations: 5.906 kB / 472.8 MB, free: 30.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.4551, allocations: 2.719 kB / 472.8 MB, free: 30.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.4551, allocations: 9 kB / 472.8 MB, free: 30.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001486/0.4553, allocations: 59.39 kB / 472.8 MB, free: 30.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.4553, allocations: 13.69 kB / 472.8 MB, free: 30.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001014/0.4554, allocations: 25.94 kB / 472.9 MB, free: 30.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.587e-05/0.4554, allocations: 19.19 kB / 472.9 MB, free: 30.63 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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 7.82e-05/0.4555, allocations: 133.9 kB / 473 MB, free: 30.5 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.565e-05/0.4556, allocations: 16.5 kB / 473 MB, free: 30.5 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002472/0.4558, allocations: 154.7 kB / 473.2 MB, free: 30.42 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.687e-06/0.4558, allocations: 3.938 kB / 473.2 MB, free: 30.42 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.4559, allocations: 2.969 kB / 473.2 MB, free: 30.42 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.4559, allocations: 0 / 473.2 MB, free: 30.42 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001782/0.456, allocations: 214.7 kB / 473.4 MB, free: 30.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.4561, allocations: 4 kB / 473.4 MB, free: 30.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.445e-05/0.4561, allocations: 21.42 kB / 473.4 MB, free: 30.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.4561, allocations: 2.812 kB / 473.4 MB, free: 30.2 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.064e-05/0.4562, allocations: 4.875 kB / 473.4 MB, free: 30.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.4562, allocations: 6.875 kB / 473.4 MB, free: 30.19 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.4562, allocations: 3.188 kB / 473.4 MB, free: 30.19 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001734/0.4563, allocations: 223.6 kB / 473.7 MB, free: 30.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.89e-05/0.4564, allocations: 103.6 kB / 473.8 MB, free: 29.92 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.23e-05/0.4564, allocations: 6.719 kB / 473.8 MB, free: 29.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001738/0.4566, allocations: 22.59 kB / 473.8 MB, free: 29.9 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.539e-05/0.4567, allocations: 6.141 kB / 473.8 MB, free: 29.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.4567, allocations: 10.28 kB / 473.8 MB, free: 29.9 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.213e-05/0.4567, allocations: 121.2 kB / 473.9 MB, free: 29.81 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4567, allocations: 2.688 kB / 473.9 MB, free: 29.81 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003339/0.4571, allocations: 74.77 kB / 474 MB, free: 29.8 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0002596/0.4574, allocations: 168.6 kB / 474.2 MB, free: 29.69 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001846/0.4575, allocations: 117.1 kB / 474.3 MB, free: 29.66 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4576, allocations: 192 / 474.3 MB, free: 29.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.093e-05/0.4576, allocations: 47.64 kB / 474.3 MB, free: 29.64 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004158/0.458, allocations: 54.83 kB / 474.4 MB, free: 29.62 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005272/0.4586, allocations: 430.9 kB / 474.8 MB, free: 29.38 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001248/0.4587, allocations: 0.7085 MB / 475.5 MB, free: 28.68 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001445/0.4589, allocations: 45.2 kB / 475.6 MB, free: 28.66 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.481e-05/0.4589, allocations: 26.12 kB / 475.6 MB, free: 28.65 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4589, allocations: 0 / 475.6 MB, free: 28.65 MB / 382.1 MB Notification: Performance of Templates: time 0.005503/0.4644, allocations: 3.119 MB / 478.7 MB, free: 28.37 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Media.Examples.WaterProperties.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Media.Examples.WaterProperties.pipe ; mkfifo Annex60_1.0.0_Annex60.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Media.Examples.WaterProperties.pipe >> ../files/Annex60_1.0.0_Annex60.Media.Examples.WaterProperties.sim & ./Annex60_1.0.0_Annex60.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Media.Examples.WaterProperties.pipe 2>&1) Environment - environmentSimulation: