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.007287/0.007287, allocations: 100.7 kB / 15.73 MB, free: 6.008 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.001109/0.001109, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.361/1.361, allocations: 205.1 MB / 222.6 MB, free: 4.516 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.001206/0.001206, allocations: 58.55 kB / 326.6 MB, free: 14.34 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08531/0.08652, allocations: 46.62 MB / 373.2 MB, free: 1.285 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.06958/0.1561, allocations: 65.73 MB / 438.9 MB, free: 15.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006945/0.1631, allocations: 5.461 MB / 444.4 MB, free: 9.844 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005663/0.1637, allocations: 7.938 kB / 444.4 MB, free: 9.836 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00109/0.1649, allocations: 361.9 kB / 444.7 MB, free: 9.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001088/0.166, allocations: 0.5011 MB / 445.2 MB, free: 8.977 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01681/0.1828, allocations: 7.1 MB / 452.3 MB, free: 1.848 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00181/0.1846, allocations: 1.551 MB / 453.9 MB, free: 300 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003464/0.185, allocations: 220.8 kB / 454.1 MB, free: 72 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2285/0.4135, allocations: 0.6298 MB / 454.7 MB, free: 6.672 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009418/0.4145, allocations: 0.5632 MB / 455.3 MB, free: 6.672 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001698/0.4147, allocations: 86.72 kB / 455.4 MB, free: 6.672 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01848/0.4332, allocations: 10.1 MB / 465.5 MB, free: 6.672 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005395/0.4337, allocations: 322.7 kB / 465.8 MB, free: 6.672 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007295/0.4345, allocations: 436 kB / 466.2 MB, free: 6.672 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01443/0.4489, allocations: 5.922 MB / 472.1 MB, free: 6.566 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.074e-06/0.449, allocations: 0 / 472.1 MB, free: 6.566 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.449, allocations: 0.5 kB / 472.1 MB, free: 6.566 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.899e-05/0.449, allocations: 0 / 472.1 MB, free: 6.566 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.004562/0.4536, allocations: 1.551 MB / 473.7 MB, free: 5.719 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.4536, allocations: 13.41 kB / 473.7 MB, free: 5.719 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00042/0.4541, allocations: 85.91 kB / 473.8 MB, free: 5.688 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000523/0.4546, allocations: 442.3 kB / 474.2 MB, free: 5.449 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.976e-05/0.4546, allocations: 45.78 kB / 474.3 MB, free: 5.449 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.956e-05/0.4547, allocations: 67.44 kB / 474.3 MB, free: 5.445 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00164/0.4564, allocations: 0.8083 MB / 475.1 MB, free: 5.395 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.444e-05/0.4564, allocations: 4.062 kB / 475.1 MB, free: 5.395 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.97e-05/0.4565, allocations: 28.25 kB / 475.2 MB, free: 5.395 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/0.4565, allocations: 17.81 kB / 475.2 MB, free: 5.395 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001614/0.4581, allocations: 1.022 MB / 476.2 MB, free: 5.391 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01564/0.4738, allocations: 12.78 MB / 489 MB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00157/0.4754, allocations: 0.7387 MB / 489.7 MB, free: 9.926 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005022/0.4759, allocations: 407.5 kB / 490.1 MB, free: 9.875 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01485/0.4908, allocations: 12.25 MB / 0.4906 GB, free: 12.85 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.2e-05/0.4909, allocations: 44.62 kB / 0.4907 GB, free: 12.81 MB / 414.1 MB Notification: Performance of pre-optimization done (n=78): time 3.857e-06/0.4909, allocations: 6.125 kB / 0.4907 GB, free: 12.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=88): time 0.009319/0.5002, allocations: 3.377 MB / 0.494 GB, free: 11.77 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/0.5003, allocations: 64.64 kB / 0.494 GB, free: 11.71 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003549/0.5007, allocations: 356.3 kB / 0.4944 GB, free: 11.55 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.548e-05/0.5007, allocations: 44.45 kB / 0.4944 GB, free: 11.52 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000124/0.5009, allocations: 236.9 kB / 0.4946 GB, free: 11.36 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001511/0.501, allocations: 309.4 kB / 0.4949 GB, free: 11.13 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002135/0.5013, allocations: 161.5 kB / 0.4951 GB, free: 11.1 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001292/0.5014, allocations: 363.2 kB / 0.4954 GB, free: 10.77 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000499/0.5019, allocations: 376 kB / 0.4958 GB, free: 10.71 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008094/0.5027, allocations: 494.8 kB / 0.4963 GB, free: 10.56 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00149/0.5042, allocations: 0.9024 MB / 0.4971 GB, free: 10.39 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/0.5042, allocations: 3.938 kB / 0.4971 GB, free: 10.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002288/0.5065, allocations: 1.111 MB / 0.4982 GB, free: 10.17 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.5065, allocations: 12.78 kB / 0.4982 GB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.5066, allocations: 2.969 kB / 0.4982 GB, free: 10.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007885/0.5074, allocations: 163.4 kB / 0.4984 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007326/0.5081, allocations: 192.3 kB / 0.4986 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002643/0.5108, allocations: 4.112 MB / 0.5026 GB, free: 6.117 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004081/0.5112, allocations: 21.56 kB / 0.5026 GB, free: 6.117 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.242e-05/0.5113, allocations: 43.83 kB / 0.5027 GB, free: 6.113 MB / 414.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.0004089/0.5117, allocations: 233.2 kB / 0.5029 GB, free: 5.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003931/0.5121, allocations: 66.62 kB / 0.5029 GB, free: 5.949 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002165/0.5143, allocations: 1.283 MB / 0.5042 GB, free: 5.605 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/0.5143, allocations: 10.72 kB / 0.5042 GB, free: 5.605 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.5143, allocations: 0 / 0.5042 GB, free: 5.605 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001722/0.516, allocations: 1.325 MB / 0.5055 GB, free: 4.457 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003059/0.5191, allocations: 1.959 MB / 0.5074 GB, free: 2.512 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.5191, allocations: 4 kB / 0.5074 GB, free: 2.508 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007188/0.5198, allocations: 166.6 kB / 0.5076 GB, free: 2.355 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00179/0.5216, allocations: 297.3 kB / 0.5079 GB, free: 2.059 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.124e-05/0.5217, allocations: 23.98 kB / 0.5079 GB, free: 2.035 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008149/0.5225, allocations: 1.294 MB / 0.5091 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.5225, allocations: 0 / 0.5091 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002676/0.5252, allocations: 1.415 MB / 0.5105 GB, free: 15.26 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001831/0.5254, allocations: 128.6 kB / 0.5106 GB, free: 15.12 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001249/0.5256, allocations: 16.09 kB / 0.5107 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005831/0.5262, allocations: 37.03 kB / 0.5107 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.5263, allocations: 56.86 kB / 0.5108 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.875e-05/0.5264, allocations: 43.97 kB / 0.5108 GB, free: 14.97 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000348/0.5267, allocations: 283 kB / 0.5111 GB, free: 14.7 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.5267, allocations: 0 / 0.5111 GB, free: 14.7 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004821/0.5316, allocations: 1.398 MB / 0.5124 GB, free: 13.3 MB / 430.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.007292/0.5389, allocations: 1.739 MB / 0.5141 GB, free: 11.72 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002166/0.5411, allocations: 1.157 MB / 0.5153 GB, free: 10.55 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.441e-06/0.5411, allocations: 8.062 kB / 0.5153 GB, free: 10.54 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008776/0.542, allocations: 494.2 kB / 0.5157 GB, free: 10.07 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001984/0.5439, allocations: 388.6 kB / 0.5161 GB, free: 9.699 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002772/0.5467, allocations: 1.647 MB / 0.5177 GB, free: 8.039 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004974/0.5472, allocations: 0.9197 MB / 0.5186 GB, free: 7.094 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0007595/0.548, allocations: 209.1 kB / 0.5188 GB, free: 6.887 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002193/0.5482, allocations: 79.41 kB / 0.5189 GB, free: 6.809 MB / 430.1 MB Notification: Performance of SimCode: time 2.6e-07/0.5483, allocations: 4 kB / 0.5189 GB, free: 6.805 MB / 430.1 MB Notification: Performance of Templates: time 0.07109/0.6194, allocations: 51.38 MB / 0.5691 GB, free: 3.461 MB / 478.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)