Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00121/0.00121, 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.001183/0.001183, allocations: 189.2 kB / 16.25 MB, free: 6.625 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.487/1.487, allocations: 205.1 MB / 222.1 MB, free: 4.695 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4417/0.4417, allocations: 54.94 MB / 324.4 MB, free: 156 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.001427/0.001427, allocations: 67.91 kB / 394.8 MB, free: 12.15 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1479, allocations: 59.59 MB / 454.4 MB, free: 0.4922 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.2201/0.368, allocations: 4.062 MB / 458.5 MB, free: 37.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002112/0.3701, allocations: 2.394 MB / 460.9 MB, free: 36.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.184e-05/0.3702, allocations: 1.094 kB / 460.9 MB, free: 36.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000262/0.3706, allocations: 39.59 kB / 460.9 MB, free: 36.5 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002521/0.3708, allocations: 89.61 kB / 461 MB, free: 36.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001027/0.3719, allocations: 473.5 kB / 461.5 MB, free: 36.39 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002306/0.3721, allocations: 262.2 kB / 461.7 MB, free: 36.37 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.113e-05/0.3722, allocations: 8.375 kB / 461.7 MB, free: 36.37 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001693/0.3723, allocations: 109.7 kB / 461.9 MB, free: 36.36 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001241/0.3725, allocations: 103.5 kB / 462 MB, free: 36.33 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.203e-05/0.3725, allocations: 7.438 kB / 462 MB, free: 36.33 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006037/0.3731, allocations: 443.3 kB / 462.4 MB, free: 36.29 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.557e-05/0.3732, allocations: 45.36 kB / 462.4 MB, free: 36.28 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.703e-05/0.3733, allocations: 80.5 kB / 462.5 MB, free: 36.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005078/0.3738, allocations: 402.4 kB / 462.9 MB, free: 36.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3738, allocations: 0 / 462.9 MB, free: 36.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3738, allocations: 0 / 462.9 MB, free: 36.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.3738, allocations: 0.6562 kB / 462.9 MB, free: 36.18 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.0006878/0.3745, allocations: 0.4996 MB / 463.4 MB, free: 35.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.3746, allocations: 11.34 kB / 463.4 MB, free: 35.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00197/0.3766, allocations: 179.6 kB / 463.6 MB, free: 35.71 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002417/0.3768, allocations: 205.3 kB / 463.8 MB, free: 35.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.867e-05/0.3769, allocations: 21.17 kB / 463.8 MB, free: 35.49 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.93e-05/0.3769, allocations: 13.41 kB / 463.8 MB, free: 35.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005909/0.3775, allocations: 312.8 kB / 464.1 MB, free: 35.31 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.3775, allocations: 2.812 kB / 464.1 MB, free: 35.31 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.602e-05/0.3776, allocations: 10.86 kB / 464.1 MB, free: 35.3 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.346e-05/0.3776, allocations: 6.719 kB / 464.2 MB, free: 35.3 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006771/0.3783, allocations: 264.3 kB / 464.4 MB, free: 35.24 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001641/0.3799, allocations: 1.381 MB / 465.8 MB, free: 33.96 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000624/0.3806, allocations: 192.3 kB / 466 MB, free: 33.89 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001958/0.3808, allocations: 82.34 kB / 466.1 MB, free: 33.86 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.99e-05/0.3808, allocations: 6.922 kB / 466.1 MB, free: 33.86 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.858e-05/0.3808, allocations: 37.34 kB / 466.1 MB, free: 33.81 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.192e-06/0.3808, allocations: 0 / 466.1 MB, free: 33.81 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0007188/0.3816, allocations: 244.1 kB / 466.3 MB, free: 33.72 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.3816, allocations: 58.34 kB / 466.4 MB, free: 33.65 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.3817, allocations: 157.8 kB / 466.6 MB, free: 33.53 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.464e-05/0.3818, allocations: 25.7 kB / 466.6 MB, free: 33.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.496e-05/0.3818, allocations: 125.2 kB / 466.7 MB, free: 33.39 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.725e-05/0.3819, allocations: 60.55 kB / 466.8 MB, free: 33.34 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.595e-05/0.382, allocations: 46.56 kB / 466.8 MB, free: 33.31 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.574e-05/0.382, allocations: 332.5 kB / 467.1 MB, free: 32.98 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001926/0.3822, allocations: 67.86 kB / 467.2 MB, free: 32.96 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002139/0.3825, allocations: 140.4 kB / 467.3 MB, free: 32.86 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004169/0.3829, allocations: 220.3 kB / 467.5 MB, free: 32.7 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.3829, allocations: 0 / 467.5 MB, free: 32.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005205/0.3834, allocations: 249.3 kB / 467.8 MB, free: 32.6 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.3835, allocations: 9.781 kB / 467.8 MB, free: 32.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.3835, allocations: 2.906 kB / 467.8 MB, free: 32.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.55e-05/0.3835, allocations: 14.48 kB / 467.8 MB, free: 32.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003486/0.3839, allocations: 63.08 kB / 467.9 MB, free: 32.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.878e-06/0.3839, allocations: 3.25 kB / 467.9 MB, free: 32.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002388/0.3841, allocations: 37.77 kB / 467.9 MB, free: 32.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.666e-05/0.3842, allocations: 12.05 kB / 467.9 MB, free: 32.57 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * 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 0.0001065/0.3843, allocations: 133.7 kB / 468.1 MB, free: 32.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.981e-05/0.3843, allocations: 11.66 kB / 468.1 MB, free: 32.43 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005703/0.3849, allocations: 232.8 kB / 468.3 MB, free: 32.32 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.3849, allocations: 3.719 kB / 468.3 MB, free: 32.32 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.3849, allocations: 0.5625 kB / 468.3 MB, free: 32.32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.3849, allocations: 3.281 kB / 468.3 MB, free: 32.32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002123/0.3852, allocations: 245.6 kB / 468.5 MB, free: 32.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.3852, allocations: 3.469 kB / 468.6 MB, free: 32.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002861/0.3855, allocations: 42.84 kB / 468.6 MB, free: 32.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.3855, allocations: 2.719 kB / 468.6 MB, free: 32.09 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.801e-05/0.3855, allocations: 7.422 kB / 468.6 MB, free: 32.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.3855, allocations: 6.406 kB / 468.6 MB, free: 32.08 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.3855, allocations: 1.312 kB / 468.6 MB, free: 32.08 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004542/0.386, allocations: 292 kB / 468.9 MB, free: 31.89 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.018e-05/0.3861, allocations: 110.1 kB / 469 MB, free: 31.79 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.459e-05/0.3861, allocations: 7.938 kB / 469 MB, free: 31.78 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002617/0.3864, allocations: 16.2 kB / 469 MB, free: 31.78 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.354e-05/0.3864, allocations: 8.969 kB / 469 MB, free: 31.78 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.286e-05/0.3864, allocations: 12.72 kB / 469 MB, free: 31.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.832e-05/0.3865, allocations: 112 kB / 469.2 MB, free: 31.69 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3865, allocations: 0 / 469.2 MB, free: 31.69 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003446/0.3868, allocations: 57.81 kB / 469.2 MB, free: 31.68 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 (20): * Single equations (assignments): 20 * 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.0002058/0.3871, allocations: 139.1 kB / 469.4 MB, free: 31.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005048/0.3876, allocations: 187 kB / 469.5 MB, free: 31.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3876, allocations: 0 / 469.5 MB, free: 31.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002022/0.3878, allocations: 100.1 kB / 469.6 MB, free: 31.49 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005375/0.3883, allocations: 69.75 kB / 469.7 MB, free: 31.47 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008432/0.3892, allocations: 454.7 kB / 470.1 MB, free: 31.21 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001532/0.3893, allocations: 0.7154 MB / 470.9 MB, free: 30.52 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003236/0.3897, allocations: 52.34 kB / 470.9 MB, free: 30.49 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.233e-05/0.3898, allocations: 26.2 kB / 470.9 MB, free: 30.48 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3898, allocations: 0 / 470.9 MB, free: 30.48 MB / 382.1 MB Notification: Performance of Templates: time 0.005911/0.3957, allocations: 3.282 MB / 474.2 MB, free: 30.3 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile (rm -f Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & ./Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1)