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.0008475/0.0008476, allocations: 97.41 kB / 15.36 MB, free: 0.7344 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.007751/0.00775, allocations: 169.4 kB / 16.26 MB, free: 6.652 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.691/1.691, 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.4252/0.4252, allocations: 55.01 MB / 325.8 MB, free: 0.582 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.0005491/0.0005491, allocations: 16 kB / 397.3 MB, free: 11.35 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4294/0.4299, allocations: 60.72 MB / 458 MB, free: 38.19 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005038/0.435, allocations: 3.704 MB / 461.7 MB, free: 37.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002411/0.4375, allocations: 2.404 MB / 464.1 MB, free: 36.63 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.407e-05/0.4376, allocations: 4 kB / 464.1 MB, free: 36.63 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00027/0.4379, allocations: 34.39 kB / 464.1 MB, free: 36.62 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000264/0.4381, allocations: 93.48 kB / 464.2 MB, free: 36.57 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001116/0.4393, allocations: 455.1 kB / 464.7 MB, free: 36.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000387/0.4397, allocations: 334.5 kB / 465 MB, free: 36.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.953e-05/0.4397, allocations: 9.438 kB / 465 MB, free: 36.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002426/0.44, allocations: 110 kB / 465.1 MB, free: 36.31 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001727/0.4402, allocations: 97.72 kB / 465.2 MB, free: 36.29 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.223e-05/0.4402, allocations: 8.094 kB / 465.2 MB, free: 36.29 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009361/0.4411, allocations: 438.7 kB / 465.6 MB, free: 36.21 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.973e-05/0.4413, allocations: 40.02 kB / 465.7 MB, free: 36.21 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001156/0.4414, allocations: 107.7 kB / 465.8 MB, free: 36.15 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005973/0.442, allocations: 395.5 kB / 466.2 MB, free: 36.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.442, allocations: 1.156 kB / 466.2 MB, free: 36.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.442, allocations: 2.969 kB / 466.2 MB, free: 36.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.442, allocations: 0 / 466.2 MB, free: 36.07 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.0008014/0.4428, allocations: 475.1 kB / 466.6 MB, free: 35.65 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.4429, allocations: 13.62 kB / 466.6 MB, free: 35.65 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001946/0.4449, allocations: 183.8 kB / 466.8 MB, free: 35.64 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003014/0.4452, allocations: 207.9 kB / 467 MB, free: 35.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.38e-05/0.4452, allocations: 16.89 kB / 467 MB, free: 35.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.893e-05/0.4453, allocations: 12.98 kB / 467.1 MB, free: 35.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007108/0.446, allocations: 310.9 kB / 467.4 MB, free: 35.3 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.678e-05/0.446, allocations: 6.5 kB / 467.4 MB, free: 35.3 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.893e-05/0.4461, allocations: 11.91 kB / 467.4 MB, free: 35.3 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.213e-05/0.4461, allocations: 9 kB / 467.4 MB, free: 35.3 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006747/0.4468, allocations: 263.3 kB / 467.6 MB, free: 35.29 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001472/0.4483, allocations: 1.382 MB / 469 MB, free: 34.08 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006477/0.4489, allocations: 191.4 kB / 469.2 MB, free: 34.05 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002207/0.4492, allocations: 79.66 kB / 469.3 MB, free: 34.04 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.612e-05/0.4492, allocations: 2.969 kB / 469.3 MB, free: 34.04 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.4492, allocations: 40.53 kB / 469.3 MB, free: 34 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.874e-06/0.4493, allocations: 0 / 469.3 MB, free: 34 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.0007847/0.45, allocations: 239.8 kB / 469.6 MB, free: 33.95 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.4501, allocations: 55.81 kB / 469.6 MB, free: 33.89 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.4502, allocations: 161.9 kB / 469.8 MB, free: 33.78 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.122e-05/0.4503, allocations: 32.89 kB / 469.8 MB, free: 33.75 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.718e-05/0.4504, allocations: 121.8 kB / 469.9 MB, free: 33.64 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.635e-05/0.4504, allocations: 66.95 kB / 470 MB, free: 33.6 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.716e-05/0.4505, allocations: 25.41 kB / 470 MB, free: 33.58 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.4506, allocations: 323.6 kB / 470.3 MB, free: 33.27 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002128/0.4509, allocations: 64.28 kB / 470.4 MB, free: 33.27 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002661/0.4511, allocations: 140.1 kB / 470.5 MB, free: 33.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005137/0.4517, allocations: 228.6 kB / 470.8 MB, free: 33.05 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.4517, allocations: 0 / 470.8 MB, free: 33.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000547/0.4522, allocations: 255.2 kB / 471 MB, free: 32.95 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.4522, allocations: 7.531 kB / 471 MB, free: 32.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.4523, allocations: 2.625 kB / 471 MB, free: 32.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.4523, allocations: 2.562 kB / 471 MB, free: 32.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003135/0.4526, allocations: 63.25 kB / 471.1 MB, free: 32.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.4526, allocations: 5.094 kB / 471.1 MB, free: 32.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002361/0.4528, allocations: 36.19 kB / 471.1 MB, free: 32.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.298e-05/0.4529, allocations: 19.36 kB / 471.1 MB, free: 32.92 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.0001055/0.453, allocations: 131.2 kB / 471.3 MB, free: 32.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.491e-05/0.453, allocations: 16.97 kB / 471.3 MB, free: 32.78 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005994/0.4536, allocations: 219.8 kB / 471.5 MB, free: 32.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.4537, allocations: 2.938 kB / 471.5 MB, free: 32.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.4537, allocations: 0 / 471.5 MB, free: 32.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.4537, allocations: 3.984 kB / 471.5 MB, free: 32.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002641/0.454, allocations: 243 kB / 471.7 MB, free: 32.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.454, allocations: 4 kB / 471.8 MB, free: 32.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002726/0.4542, allocations: 53.06 kB / 471.8 MB, free: 32.44 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.4542, allocations: 0 / 471.8 MB, free: 32.44 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/0.4543, allocations: 4.219 kB / 471.8 MB, free: 32.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.4543, allocations: 0 / 471.8 MB, free: 32.44 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.4543, allocations: 0 / 471.8 MB, free: 32.44 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004923/0.4548, allocations: 305.8 kB / 472.1 MB, free: 32.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.822e-05/0.4549, allocations: 106.1 kB / 472.2 MB, free: 32.14 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.79e-05/0.4549, allocations: 2.75 kB / 472.2 MB, free: 32.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002432/0.4551, allocations: 19.92 kB / 472.2 MB, free: 32.14 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.171e-05/0.4552, allocations: 12.94 kB / 472.2 MB, free: 32.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.503e-05/0.4552, allocations: 9.781 kB / 472.3 MB, free: 32.13 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.541e-05/0.4553, allocations: 119.1 kB / 472.4 MB, free: 32.04 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4553, allocations: 0 / 472.4 MB, free: 32.04 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003661/0.4557, allocations: 58.84 kB / 472.4 MB, free: 32.04 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.0001943/0.4559, allocations: 135.8 kB / 472.6 MB, free: 31.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005007/0.4564, allocations: 183 kB / 472.7 MB, free: 31.88 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.4564, allocations: 0 / 472.7 MB, free: 31.88 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002209/0.4566, allocations: 101 kB / 472.8 MB, free: 31.85 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000541/0.4572, allocations: 56.55 kB / 472.9 MB, free: 31.84 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.4582, allocations: 0.4897 MB / 473.4 MB, free: 31.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002135/0.4584, allocations: 0.7198 MB / 474.1 MB, free: 30.87 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003618/0.4588, allocations: 49.3 kB / 474.2 MB, free: 30.85 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.306e-05/0.4589, allocations: 29.55 kB / 474.2 MB, free: 30.84 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4589, allocations: 0.8438 kB / 474.2 MB, free: 30.84 MB / 382.1 MB Notification: Performance of Templates: time 0.007178/0.4661, allocations: 3.148 MB / 477.3 MB, free: 30.64 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: