Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.MoistAir1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir1") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 191.8 kB / 16.53 MB, free: 6.664 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.464/1.464, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.001323/0.001323, allocations: 51.92 kB / 278.7 MB, free: 12.36 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2048/0.2062, allocations: 46.63 MB / 325.3 MB, free: 1.863 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.05101/0.2572, allocations: 50.69 MB / 376 MB, free: 1.078 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005823/0.2631, allocations: 5.215 MB / 381.2 MB, free: 11.84 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002005/0.2633, allocations: 4 kB / 381.2 MB, free: 11.84 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006881/0.2641, allocations: 242.6 kB / 381.4 MB, free: 11.6 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005517/0.2646, allocations: 369.9 kB / 381.8 MB, free: 11.23 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0151/0.2797, allocations: 6.742 MB / 388.6 MB, free: 4.473 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001214/0.281, allocations: 1.099 MB / 389.7 MB, free: 3.367 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002298/0.2812, allocations: 141.5 kB / 389.8 MB, free: 3.227 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006472/0.2877, allocations: 3.586 MB / 393.4 MB, free: 15.63 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004805/0.2882, allocations: 406.6 kB / 393.8 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.969e-05/0.2883, allocations: 56 kB / 393.8 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01602/0.3043, allocations: 9.647 MB / 403.5 MB, free: 5.516 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003419/0.3047, allocations: 227.4 kB / 403.7 MB, free: 5.293 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004504/0.3052, allocations: 302.9 kB / 404 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01226/0.3174, allocations: 5.477 MB / 409.5 MB, free: 15.51 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.593e-06/0.3175, allocations: 0 / 409.5 MB, free: 15.51 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3175, allocations: 0 / 409.5 MB, free: 15.51 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.716e-05/0.3175, allocations: 0 / 409.5 MB, free: 15.51 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.003739/0.3213, allocations: 1.357 MB / 410.8 MB, free: 14.1 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.3213, allocations: 12.03 kB / 410.8 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003352/0.3217, allocations: 51.53 kB / 410.9 MB, free: 14.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004479/0.3221, allocations: 369.9 kB / 411.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.892e-05/0.3222, allocations: 32.98 kB / 411.3 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.96e-05/0.3222, allocations: 48 kB / 411.3 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001198/0.3234, allocations: 0.5842 MB / 411.9 MB, free: 12.97 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.3235, allocations: 0 / 411.9 MB, free: 12.97 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.344e-05/0.3235, allocations: 20 kB / 411.9 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/0.3235, allocations: 12 kB / 411.9 MB, free: 12.94 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001278/0.3248, allocations: 0.7417 MB / 412.7 MB, free: 12.19 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01585/0.3407, allocations: 11.97 MB / 424.7 MB, free: 14.15 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001321/0.342, allocations: 0.5274 MB / 425.2 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004019/0.3425, allocations: 262 kB / 425.4 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01494/0.3574, allocations: 11.9 MB / 437.3 MB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.728e-05/0.3575, allocations: 39 kB / 437.4 MB, free: 15.1 MB / 382.1 MB Notification: Performance of pre-optimization done (n=50): time 3.316e-06/0.3575, allocations: 0 / 437.4 MB, free: 15.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=55): time 0.006081/0.3636, allocations: 2.128 MB / 439.5 MB, free: 12.88 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.3637, allocations: 59.97 kB / 439.6 MB, free: 12.8 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003835/0.3641, allocations: 326.9 kB / 439.9 MB, free: 12.47 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.873e-05/0.3642, allocations: 37.7 kB / 439.9 MB, free: 12.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001413/0.3643, allocations: 196.3 kB / 440.1 MB, free: 12.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001553/0.3645, allocations: 185.3 kB / 440.3 MB, free: 12.05 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001834/0.3647, allocations: 118.1 kB / 440.4 MB, free: 11.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.3648, allocations: 346.8 kB / 440.7 MB, free: 11.58 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000395/0.3652, allocations: 241 kB / 441 MB, free: 11.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006486/0.3659, allocations: 339.4 kB / 441.3 MB, free: 10.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001173/0.3671, allocations: 0.5995 MB / 441.9 MB, free: 10.35 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.3671, allocations: 0 / 441.9 MB, free: 10.35 MB / 382.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001832/0.3689, allocations: 0.7595 MB / 442.7 MB, free: 9.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.3689, allocations: 11.94 kB / 442.7 MB, free: 9.559 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.3689, allocations: 4 kB / 442.7 MB, free: 9.555 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004879/0.3694, allocations: 102.8 kB / 442.8 MB, free: 9.445 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000502/0.37, allocations: 127.8 kB / 442.9 MB, free: 9.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002494/0.3725, allocations: 3.468 MB / 446.4 MB, free: 5.551 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003065/0.3728, allocations: 16.09 kB / 446.4 MB, free: 5.535 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.565e-05/0.3729, allocations: 35.98 kB / 446.4 MB, free: 5.5 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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {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.0002622/0.3731, allocations: 185.6 kB / 446.6 MB, free: 5.309 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003101/0.3735, allocations: 39.62 kB / 446.7 MB, free: 5.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001569/0.375, allocations: 0.8267 MB / 447.5 MB, free: 4.414 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.375, allocations: 4 kB / 447.5 MB, free: 4.41 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.3751, allocations: 0 / 447.5 MB, free: 4.41 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001118/0.3762, allocations: 0.7635 MB / 448.2 MB, free: 3.574 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002093/0.3783, allocations: 1.301 MB / 449.5 MB, free: 2.211 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.3783, allocations: 0 / 449.5 MB, free: 2.211 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000456/0.3788, allocations: 103.8 kB / 449.6 MB, free: 2.109 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009203/0.3797, allocations: 156.5 kB / 449.8 MB, free: 1.953 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.829e-05/0.3798, allocations: 19.98 kB / 449.8 MB, free: 1.934 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004041/0.3802, allocations: 0.6406 MB / 450.5 MB, free: 1.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3802, allocations: 0 / 450.5 MB, free: 1.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001663/0.3819, allocations: 0.9043 MB / 451.4 MB, free: 344 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001373/0.382, allocations: 116.7 kB / 451.5 MB, free: 208 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.029e-05/0.3821, allocations: 16 kB / 451.5 MB, free: 192 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004131/0.3825, allocations: 24.08 kB / 451.5 MB, free: 168 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.729e-05/0.3826, allocations: 32.39 kB / 451.6 MB, free: 136 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-05/0.3827, allocations: 27.97 kB / 451.6 MB, free: 108 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.1461/0.5288, allocations: 250.3 kB / 451.8 MB, free: 117.9 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.5288, allocations: 0.6875 kB / 451.8 MB, free: 117.9 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003968/0.5328, allocations: 1.306 MB / 453.1 MB, free: 117.9 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004648/0.5375, allocations: 1.706 MB / 454.8 MB, free: 117.8 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001586/0.5391, allocations: 0.8501 MB / 455.7 MB, free: 117.6 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.5391, allocations: 1.062 kB / 455.7 MB, free: 117.6 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005068/0.5396, allocations: 288.5 kB / 456 MB, free: 117.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001371/0.541, allocations: 289.5 kB / 456.3 MB, free: 117.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001652/0.5427, allocations: 1.099 MB / 457.4 MB, free: 117 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002069/0.5429, allocations: 0.8376 MB / 458.2 MB, free: 116.3 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004833/0.5434, allocations: 147.6 kB / 458.3 MB, free: 116.3 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/0.5435, allocations: 61.77 kB / 458.4 MB, free: 116.3 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.5435, allocations: 0 / 458.4 MB, free: 116.3 MB / 382.1 MB Notification: Performance of Templates: time 0.04633/0.5898, allocations: 46.38 MB / 0.4929 GB, free: 73.88 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1)