Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir2") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001322/0.001322, allocations: 111.8 kB / 17.06 MB, free: 6.004 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.001361/0.001361, allocations: 198.9 kB / 18 MB, free: 5.082 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.302/1.302, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.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.001194/0.001194, allocations: 51.92 kB / 327.9 MB, free: 3.285 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07864/0.07984, allocations: 46.62 MB / 374.5 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.2306/0.3105, allocations: 65.74 MB / 440.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006449/0.317, allocations: 5.454 MB / 445.7 MB, free: 8.336 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005128/0.3175, allocations: 7.938 kB / 445.7 MB, free: 8.328 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009696/0.3185, allocations: 346 kB / 446 MB, free: 7.988 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001031/0.3196, allocations: 0.5089 MB / 446.5 MB, free: 7.477 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01931/0.3389, allocations: 7.079 MB / 453.6 MB, free: 392 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002301/0.3412, allocations: 1.547 MB / 455.2 MB, free: 14.83 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003526/0.3416, allocations: 222.3 kB / 455.4 MB, free: 14.61 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008059/0.3424, allocations: 0.623 MB / 456 MB, free: 13.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006613/0.3431, allocations: 0.5683 MB / 456.6 MB, free: 13.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000107/0.3432, allocations: 88 kB / 456.7 MB, free: 13.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01666/0.3599, allocations: 10.08 MB / 466.8 MB, free: 3.227 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004097/0.3603, allocations: 327.2 kB / 467.1 MB, free: 2.906 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005599/0.3609, allocations: 430.4 kB / 467.5 MB, free: 2.484 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01278/0.3737, allocations: 5.925 MB / 473.4 MB, free: 12.55 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.291e-06/0.3737, allocations: 0 / 473.4 MB, free: 12.55 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3737, allocations: 0 / 473.4 MB, free: 12.55 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.032e-05/0.3738, allocations: 0 / 473.4 MB, free: 12.55 MB / 398.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.003933/0.3777, allocations: 1.556 MB / 475 MB, free: 10.94 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.3778, allocations: 12.02 kB / 475 MB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005103/0.3783, allocations: 79.25 kB / 475.1 MB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007077/0.379, allocations: 452.7 kB / 475.5 MB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.39e-05/0.3791, allocations: 47.94 kB / 475.6 MB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.543e-05/0.3792, allocations: 64 kB / 475.6 MB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00169/0.3809, allocations: 0.8107 MB / 476.4 MB, free: 9.441 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.422e-05/0.3809, allocations: 0 / 476.4 MB, free: 9.441 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.096e-05/0.381, allocations: 32 kB / 476.5 MB, free: 9.41 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.344e-05/0.381, allocations: 16 kB / 476.5 MB, free: 9.395 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001777/0.3828, allocations: 1.024 MB / 477.5 MB, free: 8.371 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01632/0.3991, allocations: 12.78 MB / 490.3 MB, free: 9.449 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001703/0.4008, allocations: 0.7412 MB / 491 MB, free: 8.695 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005634/0.4014, allocations: 406.7 kB / 491.4 MB, free: 8.297 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01492/0.4164, allocations: 12.25 MB / 0.4919 GB, free: 9.664 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.51e-05/0.4164, allocations: 39.22 kB / 0.4919 GB, free: 9.617 MB / 430.1 MB Notification: Performance of pre-optimization done (n=78): time 2.425e-06/0.4165, allocations: 0 / 0.4919 GB, free: 9.617 MB / 430.1 MB Notification: Performance of matching and sorting (n=88): time 0.01007/0.4265, allocations: 3.394 MB / 0.4952 GB, free: 6.141 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.721e-05/0.4266, allocations: 60.41 kB / 0.4953 GB, free: 6.066 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004728/0.4271, allocations: 352.5 kB / 0.4956 GB, free: 5.715 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001061/0.4272, allocations: 45.7 kB / 0.4956 GB, free: 5.664 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000159/0.4274, allocations: 244.7 kB / 0.4959 GB, free: 5.422 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000245/0.4276, allocations: 303.5 kB / 0.4962 GB, free: 5.121 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002655/0.4279, allocations: 158.6 kB / 0.4963 GB, free: 4.961 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.4281, allocations: 362.8 kB / 0.4967 GB, free: 4.598 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006303/0.4287, allocations: 373.8 kB / 0.497 GB, free: 4.23 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009391/0.4297, allocations: 496.2 kB / 0.4975 GB, free: 3.715 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001731/0.4314, allocations: 0.8982 MB / 0.4984 GB, free: 2.789 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.4314, allocations: 0 / 0.4984 GB, free: 2.789 MB / 430.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002632/0.4341, allocations: 1.117 MB / 0.4995 GB, free: 1.648 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.4341, allocations: 11.94 kB / 0.4995 GB, free: 1.637 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.4341, allocations: 4 kB / 0.4995 GB, free: 1.633 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008543/0.435, allocations: 163.5 kB / 0.4996 GB, free: 1.461 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007476/0.4357, allocations: 195.7 kB / 0.4998 GB, free: 1.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002923/0.4387, allocations: 4.116 MB / 0.5038 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005018/0.4392, allocations: 20.03 kB / 0.5039 GB, free: 12.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001218/0.4393, allocations: 48.23 kB / 0.5039 GB, free: 12.76 MB / 446.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.0004249/0.4398, allocations: 221.6 kB / 0.5041 GB, free: 12.53 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004685/0.4402, allocations: 59.44 kB / 0.5042 GB, free: 12.47 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002443/0.4427, allocations: 1.288 MB / 0.5054 GB, free: 11.15 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.27e-05/0.4427, allocations: 11.98 kB / 0.5054 GB, free: 11.14 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.4427, allocations: 0 / 0.5054 GB, free: 11.14 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001852/0.4446, allocations: 1.32 MB / 0.5067 GB, free: 9.691 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003299/0.4479, allocations: 1.96 MB / 0.5086 GB, free: 7.656 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.4479, allocations: 0 / 0.5086 GB, free: 7.656 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007244/0.4486, allocations: 167.8 kB / 0.5088 GB, free: 7.492 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001771/0.4504, allocations: 293.1 kB / 0.5091 GB, free: 7.199 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.476e-05/0.4505, allocations: 31.98 kB / 0.5091 GB, free: 7.168 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007909/0.4513, allocations: 1.289 MB / 0.5104 GB, free: 5.832 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.4513, allocations: 0 / 0.5104 GB, free: 5.832 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002536/0.4539, allocations: 1.425 MB / 0.5118 GB, free: 4.379 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001881/0.4541, allocations: 128.5 kB / 0.5119 GB, free: 4.234 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/0.4542, allocations: 19.98 kB / 0.5119 GB, free: 4.215 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000558/0.4548, allocations: 31.97 kB / 0.5119 GB, free: 4.184 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.243e-05/0.4549, allocations: 56.92 kB / 0.512 GB, free: 4.129 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001176/0.455, allocations: 43.97 kB / 0.512 GB, free: 4.086 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002972/0.4553, allocations: 279 kB / 0.5123 GB, free: 3.816 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4553, allocations: 0 / 0.5123 GB, free: 3.816 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003917/0.4592, allocations: 1.402 MB / 0.5137 GB, free: 2.414 MB / 446.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.006146/0.4654, allocations: 1.749 MB / 0.5154 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002282/0.4677, allocations: 1.152 MB / 0.5165 GB, free: 15.48 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/0.4677, allocations: 4 kB / 0.5165 GB, free: 15.47 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009043/0.4686, allocations: 491.2 kB / 0.517 GB, free: 14.99 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002026/0.4707, allocations: 394.2 kB / 0.5174 GB, free: 14.6 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002804/0.4735, allocations: 1.661 MB / 0.519 GB, free: 12.9 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004602/0.474, allocations: 0.9128 MB / 0.5199 GB, free: 11.96 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007354/0.4747, allocations: 201.2 kB / 0.5201 GB, free: 11.77 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000256/0.475, allocations: 79.41 kB / 0.5201 GB, free: 11.69 MB / 462.1 MB Notification: Performance of SimCode: time 9.02e-07/0.475, allocations: 3.938 kB / 0.5201 GB, free: 11.69 MB / 462.1 MB Notification: Performance of Templates: time 0.249/0.724, allocations: 51.64 MB / 0.5706 GB, free: 152.2 MB / 478.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir2.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir2.sim & ./Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir2.pipe 2>&1)