Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001206/0.001206, allocations: 109.6 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.001165/0.001165, allocations: 192 kB / 18 MB, free: 5.09 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.342/1.342, 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.001382/0.001382, allocations: 51.92 kB / 327.9 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08831/0.0897, allocations: 46.62 MB / 374.5 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.2299/0.3196, allocations: 50.7 MB / 425.2 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007028/0.3267, allocations: 5.198 MB / 430.4 MB, free: 6.215 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006208/0.3273, allocations: 8.75 kB / 430.4 MB, free: 6.211 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009841/0.3284, allocations: 246.4 kB / 430.6 MB, free: 6.012 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009351/0.3293, allocations: 364.7 kB / 431 MB, free: 5.715 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02333/0.3527, allocations: 6.749 MB / 437.7 MB, free: 336 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001858/0.3546, allocations: 1.087 MB / 438.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003489/0.3549, allocations: 149.5 kB / 439 MB, free: 15.09 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007684/0.3626, allocations: 3.597 MB / 442.6 MB, free: 11.48 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009839/0.3636, allocations: 394.7 kB / 443 MB, free: 11.09 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002188/0.3639, allocations: 56 kB / 443 MB, free: 11.04 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02241/0.3863, allocations: 9.823 MB / 452.8 MB, free: 1.203 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004455/0.3868, allocations: 223.5 kB / 453.1 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006578/0.3875, allocations: 310.9 kB / 453.4 MB, free: 0.6797 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01388/0.4014, allocations: 5.491 MB / 458.9 MB, free: 11.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.4014, allocations: 0 / 458.9 MB, free: 11.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4014, allocations: 0 / 458.9 MB, free: 11.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.506e-05/0.4015, allocations: 0 / 458.9 MB, free: 11.18 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.003901/0.4054, allocations: 1.395 MB / 460.2 MB, free: 9.727 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.4054, allocations: 15.97 kB / 460.3 MB, free: 9.711 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004437/0.4059, allocations: 59.7 kB / 460.3 MB, free: 9.652 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005414/0.4064, allocations: 370 kB / 460.7 MB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.742e-05/0.4065, allocations: 33 kB / 460.7 MB, free: 9.219 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.4066, allocations: 55.92 kB / 460.8 MB, free: 9.164 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001435/0.408, allocations: 0.5881 MB / 461.4 MB, free: 8.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.943e-05/0.4081, allocations: 0 / 461.4 MB, free: 8.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.504e-05/0.4081, allocations: 20 kB / 461.4 MB, free: 8.551 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.773e-05/0.4082, allocations: 8 kB / 461.4 MB, free: 8.543 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00148/0.4096, allocations: 0.7417 MB / 462.1 MB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01571/0.4254, allocations: 11.96 MB / 474.1 MB, free: 9.766 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001318/0.4267, allocations: 0.5314 MB / 474.6 MB, free: 9.223 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004311/0.4272, allocations: 254 kB / 474.9 MB, free: 8.973 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01439/0.4416, allocations: 11.9 MB / 486.8 MB, free: 10.77 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.633e-05/0.4417, allocations: 39 kB / 486.8 MB, free: 10.72 MB / 414.1 MB Notification: Performance of pre-optimization done (n=50): time 3.466e-06/0.4417, allocations: 0 / 486.8 MB, free: 10.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=55): time 0.006506/0.4482, allocations: 2.135 MB / 488.9 MB, free: 8.504 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.671e-05/0.4483, allocations: 55.97 kB / 489 MB, free: 8.438 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005101/0.4488, allocations: 319 kB / 489.3 MB, free: 8.113 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.6e-05/0.4489, allocations: 41.7 kB / 489.3 MB, free: 8.066 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001709/0.4491, allocations: 204.7 kB / 489.5 MB, free: 7.863 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001808/0.4493, allocations: 202.3 kB / 489.7 MB, free: 7.664 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001812/0.4495, allocations: 114.2 kB / 489.9 MB, free: 7.547 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.4496, allocations: 346.8 kB / 490.2 MB, free: 7.199 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003916/0.45, allocations: 241 kB / 490.4 MB, free: 6.961 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006186/0.4506, allocations: 339.4 kB / 490.8 MB, free: 6.602 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001199/0.4519, allocations: 0.6034 MB / 491.4 MB, free: 5.965 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.4519, allocations: 0 / 491.4 MB, free: 5.965 MB / 414.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001893/0.4538, allocations: 0.752 MB / 492.1 MB, free: 5.195 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.4538, allocations: 8 kB / 492.1 MB, free: 5.188 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.273e-05/0.4538, allocations: 3.938 kB / 492.1 MB, free: 5.184 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004852/0.4543, allocations: 102.5 kB / 492.2 MB, free: 5.074 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005019/0.4548, allocations: 132.5 kB / 492.4 MB, free: 4.945 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002575/0.4574, allocations: 3.477 MB / 495.8 MB, free: 1.164 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003248/0.4578, allocations: 16 kB / 495.8 MB, free: 1.148 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.451e-05/0.4579, allocations: 31.98 kB / 495.9 MB, free: 1.117 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 (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.0002896/0.4582, allocations: 201.6 kB / 496.1 MB, free: 0.9102 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003185/0.4585, allocations: 47.77 kB / 496.1 MB, free: 0.8633 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001589/0.4601, allocations: 0.819 MB / 496.9 MB, free: 12 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.4601, allocations: 4 kB / 496.9 MB, free: 8 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.4601, allocations: 0 / 496.9 MB, free: 8 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001143/0.4613, allocations: 0.7596 MB / 497.7 MB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002083/0.4634, allocations: 1.298 MB / 499 MB, free: 13.81 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.4634, allocations: 0 / 499 MB, free: 13.81 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004343/0.4638, allocations: 99.88 kB / 499.1 MB, free: 13.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009208/0.4648, allocations: 148.7 kB / 499.2 MB, free: 13.56 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.101e-05/0.4648, allocations: 19.94 kB / 499.3 MB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004254/0.4653, allocations: 0.6523 MB / 499.9 MB, free: 12.87 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.4653, allocations: 0 / 499.9 MB, free: 12.87 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001695/0.467, allocations: 0.9134 MB / 0.4891 GB, free: 11.93 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001171/0.4671, allocations: 116.8 kB / 0.4892 GB, free: 11.8 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.372e-05/0.4672, allocations: 12 kB / 0.4892 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003909/0.4676, allocations: 19.98 kB / 0.4892 GB, free: 11.77 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.25e-05/0.4676, allocations: 36.39 kB / 0.4893 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.199e-05/0.4677, allocations: 35.91 kB / 0.4893 GB, free: 11.7 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002777/0.468, allocations: 257.9 kB / 0.4895 GB, free: 11.45 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.468, allocations: 0 / 0.4895 GB, free: 11.45 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003377/0.4714, allocations: 1.317 MB / 0.4908 GB, free: 10.13 MB / 430.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.005833/0.4772, allocations: 1.715 MB / 0.4925 GB, free: 8.406 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001501/0.4788, allocations: 0.8041 MB / 0.4933 GB, free: 7.57 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.4788, allocations: 8 kB / 0.4933 GB, free: 7.562 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000574/0.4794, allocations: 295.1 kB / 0.4936 GB, free: 7.273 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001369/0.4807, allocations: 269.3 kB / 0.4938 GB, free: 7.012 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00192/0.4827, allocations: 1.118 MB / 0.4949 GB, free: 5.855 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004267/0.4831, allocations: 0.8287 MB / 0.4957 GB, free: 4.996 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004935/0.4836, allocations: 148.2 kB / 0.4959 GB, free: 4.848 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001542/0.4838, allocations: 55.42 kB / 0.4959 GB, free: 4.797 MB / 430.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4838, allocations: 0 / 0.4959 GB, free: 4.797 MB / 430.1 MB Notification: Performance of Templates: time 0.06348/0.5473, allocations: 46.41 MB / 0.5413 GB, free: 6.297 MB / 478.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1)