Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.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) 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(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir2") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009533/0.0009533, allocations: 98.03 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.005998/0.005998, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.335/1.335, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.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: Performance of FrontEnd - loaded program: time 0.0006961/0.0006962, allocations: 8.328 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.217/0.2177, allocations: 47.59 MB / 327 MB, free: 1.625 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.1282/0.3459, allocations: 66.01 MB / 393 MB, free: 1.316 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01172/0.3577, allocations: 5.473 MB / 398.5 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006302/0.3584, allocations: 7.938 kB / 398.5 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001479/0.3599, allocations: 302.5 kB / 398.8 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001757/0.3616, allocations: 0.4975 MB / 399.3 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02438/0.3861, allocations: 5.899 MB / 405.2 MB, free: 5.105 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002373/0.3884, allocations: 2.312 MB / 407.5 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003303/0.3888, allocations: 162.1 kB / 407.7 MB, free: 2.629 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009464/0.3897, allocations: 0.5176 MB / 408.2 MB, free: 2.109 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009079/0.3907, allocations: 0.58 MB / 408.8 MB, free: 1.527 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001351/0.3908, allocations: 36 kB / 408.8 MB, free: 1.492 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01695/0.4078, allocations: 10.27 MB / 419.1 MB, free: 7.203 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004707/0.4083, allocations: 271.2 kB / 419.4 MB, free: 6.938 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000591/0.4089, allocations: 412.1 kB / 419.8 MB, free: 6.527 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01271/0.4216, allocations: 5.979 MB / 425.7 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.555e-06/0.4216, allocations: 0 / 425.7 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.4217, allocations: 3.938 kB / 425.7 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.505e-05/0.4217, allocations: 4 kB / 425.7 MB, free: 0.5273 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.003524/0.4252, allocations: 1.384 MB / 427.1 MB, free: 15.09 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.4253, allocations: 20.02 kB / 427.1 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000374/0.4256, allocations: 75.25 kB / 427.2 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005543/0.4262, allocations: 448.7 kB / 427.7 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.827e-05/0.4263, allocations: 45.31 kB / 427.7 MB, free: 14.47 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/0.4264, allocations: 60 kB / 427.8 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001687/0.4281, allocations: 0.8146 MB / 428.6 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.413e-05/0.4281, allocations: 3.906 kB / 428.6 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.789e-05/0.4282, allocations: 32 kB / 428.6 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.53e-05/0.4282, allocations: 20 kB / 428.6 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001849/0.4301, allocations: 1.028 MB / 429.7 MB, free: 12.51 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01686/0.4469, allocations: 12.83 MB / 442.5 MB, free: 13.54 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00177/0.4487, allocations: 0.7603 MB / 443.2 MB, free: 12.77 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005726/0.4493, allocations: 418.1 kB / 443.7 MB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1751/0.6244, allocations: 12.29 MB / 455.9 MB, free: 90.32 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.908e-05/0.6245, allocations: 47 kB / 456 MB, free: 90.28 MB / 382.1 MB Notification: Performance of pre-optimization done (n=78): time 4.107e-06/0.6245, allocations: 0 / 456 MB, free: 90.28 MB / 382.1 MB Notification: Performance of matching and sorting (n=88): time 0.01024/0.6348, allocations: 3.419 MB / 459.4 MB, free: 89.7 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.6349, allocations: 65.28 kB / 459.5 MB, free: 89.63 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004049/0.6353, allocations: 355.7 kB / 459.8 MB, free: 89.52 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.498e-05/0.6353, allocations: 45.11 kB / 459.9 MB, free: 89.49 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.6355, allocations: 234.3 kB / 460.1 MB, free: 89.35 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001774/0.6357, allocations: 308.5 kB / 460.4 MB, free: 89.15 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001013/0.6358, allocations: 73.12 kB / 460.5 MB, free: 89.14 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.799e-05/0.6359, allocations: 369.6 kB / 460.8 MB, free: 88.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005313/0.6364, allocations: 370 kB / 461.2 MB, free: 88.82 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000769/0.6372, allocations: 497.6 kB / 461.7 MB, free: 88.73 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001463/0.6387, allocations: 0.901 MB / 462.6 MB, free: 88.62 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.6387, allocations: 0 / 462.6 MB, free: 88.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002253/0.6409, allocations: 1.112 MB / 463.7 MB, free: 88.51 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.641, allocations: 10.8 kB / 463.7 MB, free: 88.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.641, allocations: 3.781 kB / 463.7 MB, free: 88.51 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007711/0.6417, allocations: 169.5 kB / 463.9 MB, free: 88.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006791/0.6424, allocations: 196.3 kB / 464.1 MB, free: 88.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001835/0.6443, allocations: 3.906 MB / 468 MB, free: 84.81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00055/0.6448, allocations: 68.61 kB / 468 MB, free: 84.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.147e-05/0.6449, allocations: 43.28 kB / 468.1 MB, free: 84.8 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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003301/0.6453, allocations: 225.9 kB / 468.3 MB, free: 84.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003344/0.6456, allocations: 65.08 kB / 468.4 MB, free: 84.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001987/0.6476, allocations: 1.279 MB / 469.6 MB, free: 84.49 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.6476, allocations: 7.594 kB / 469.6 MB, free: 84.49 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.6476, allocations: 3.188 kB / 469.6 MB, free: 84.49 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001442/0.6491, allocations: 1.324 MB / 471 MB, free: 83.82 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0025/0.6516, allocations: 1.971 MB / 472.9 MB, free: 83.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.6516, allocations: 3.938 kB / 472.9 MB, free: 83.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006289/0.6522, allocations: 162.2 kB / 473.1 MB, free: 83.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001677/0.6539, allocations: 296.6 kB / 473.4 MB, free: 83.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.511e-05/0.654, allocations: 29.94 kB / 473.4 MB, free: 83.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004661/0.6545, allocations: 1.286 MB / 474.7 MB, free: 82.26 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.6545, allocations: 3.938 kB / 474.7 MB, free: 82.26 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002135/0.6566, allocations: 1.416 MB / 476.1 MB, free: 82.03 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00013/0.6568, allocations: 144.1 kB / 476.3 MB, free: 81.91 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.989e-05/0.6569, allocations: 24.39 kB / 476.3 MB, free: 81.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000577/0.6575, allocations: 56.77 kB / 476.3 MB, free: 81.9 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.083e-05/0.6575, allocations: 57.48 kB / 476.4 MB, free: 81.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.215e-05/0.6576, allocations: 41.3 kB / 476.4 MB, free: 81.89 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002331/0.6579, allocations: 281.3 kB / 476.7 MB, free: 81.82 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.6579, allocations: 0 / 476.7 MB, free: 81.82 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003155/0.661, allocations: 1.394 MB / 478.1 MB, free: 81.78 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.medium.T) * 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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {2, 2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00445/0.6655, allocations: 1.751 MB / 479.9 MB, free: 81.62 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001885/0.6674, allocations: 1.147 MB / 481 MB, free: 80.86 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.6674, allocations: 7.719 kB / 481 MB, free: 80.86 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007241/0.6681, allocations: 482.8 kB / 481.5 MB, free: 80.58 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001909/0.6701, allocations: 381.1 kB / 481.9 MB, free: 80.38 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002279/0.6724, allocations: 2.038 MB / 483.9 MB, free: 78.74 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003024/0.6727, allocations: 0.912 MB / 484.8 MB, free: 77.88 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006807/0.6734, allocations: 202.8 kB / 485 MB, free: 77.72 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001868/0.6736, allocations: 83.11 kB / 485.1 MB, free: 77.65 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.6736, allocations: 0 / 485.1 MB, free: 77.65 MB / 382.1 MB Notification: Performance of Templates: time 0.05245/0.726, allocations: 50.39 MB / 0.5229 GB, free: 28.5 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1)