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.001151/0.001151, allocations: 97.72 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.009152/0.009152, allocations: 169.6 kB / 16.27 MB, free: 6.652 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.467/1.467, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.0004579/0.0004579, allocations: 8 kB / 279.4 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.21/0.2105, allocations: 47.58 MB / 327 MB, free: 1.418 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.05119/0.2617, allocations: 51.27 MB / 378.3 MB, free: 15.95 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005863/0.2676, allocations: 5.22 MB / 383.5 MB, free: 10.71 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002958/0.2679, allocations: 4 kB / 383.5 MB, free: 10.71 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006545/0.2686, allocations: 222.8 kB / 383.7 MB, free: 10.49 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006351/0.2693, allocations: 350.2 kB / 384.1 MB, free: 10.14 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01446/0.2837, allocations: 5.607 MB / 389.7 MB, free: 4.523 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001568/0.2853, allocations: 1.602 MB / 391.3 MB, free: 2.914 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002137/0.2855, allocations: 114.1 kB / 391.4 MB, free: 2.801 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006215/0.2918, allocations: 3.643 MB / 395 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005573/0.2923, allocations: 406.6 kB / 395.4 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.459e-05/0.2924, allocations: 28 kB / 395.5 MB, free: 14.72 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01602/0.3084, allocations: 9.95 MB / 405.4 MB, free: 4.754 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003116/0.3088, allocations: 191.5 kB / 405.6 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004151/0.3092, allocations: 296.5 kB / 405.9 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01185/0.3211, allocations: 5.543 MB / 411.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.3211, allocations: 0 / 411.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3211, allocations: 0 / 411.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.3211, allocations: 0 / 411.4 MB, free: 14.71 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.002838/0.324, allocations: 1.24 MB / 412.7 MB, free: 13.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.324, allocations: 12.03 kB / 412.7 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003073/0.3243, allocations: 59.42 kB / 412.7 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004442/0.3248, allocations: 369.9 kB / 413.1 MB, free: 12.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.736e-05/0.3248, allocations: 29 kB / 413.1 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.206e-05/0.3249, allocations: 44 kB / 413.2 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/0.3261, allocations: 0.5804 MB / 413.8 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.3262, allocations: 0 / 413.8 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.336e-05/0.3262, allocations: 20 kB / 413.8 MB, free: 12.28 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.3263, allocations: 16 kB / 413.8 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001299/0.3276, allocations: 0.7534 MB / 414.5 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01568/0.3433, allocations: 12.01 MB / 426.6 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00124/0.3445, allocations: 0.5353 MB / 427.1 MB, free: 12.88 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003763/0.3449, allocations: 262 kB / 427.4 MB, free: 12.62 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01401/0.3589, allocations: 11.95 MB / 439.3 MB, free: 14.37 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.277e-05/0.359, allocations: 43 kB / 439.3 MB, free: 14.32 MB / 382.1 MB Notification: Performance of pre-optimization done (n=50): time 2.364e-06/0.359, allocations: 0 / 439.3 MB, free: 14.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=55): time 0.005579/0.3646, allocations: 2.132 MB / 441.5 MB, free: 12.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/0.3647, allocations: 59.97 kB / 441.5 MB, free: 12.02 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003488/0.365, allocations: 311 kB / 441.8 MB, free: 11.71 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.308e-05/0.3651, allocations: 41.64 kB / 441.9 MB, free: 11.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.3652, allocations: 200.3 kB / 442.1 MB, free: 11.46 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001336/0.3654, allocations: 193.2 kB / 442.3 MB, free: 11.27 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.564e-05/0.3654, allocations: 49.69 kB / 442.3 MB, free: 11.21 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.3656, allocations: 354.7 kB / 442.7 MB, free: 10.86 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003705/0.3659, allocations: 241 kB / 442.9 MB, free: 10.62 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006039/0.3666, allocations: 339.3 kB / 443.2 MB, free: 10.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001096/0.3677, allocations: 0.5956 MB / 443.8 MB, free: 9.625 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.3677, allocations: 8 kB / 443.8 MB, free: 9.617 MB / 382.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001703/0.3694, allocations: 0.7517 MB / 444.6 MB, free: 8.848 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.3694, allocations: 7.938 kB / 444.6 MB, free: 8.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.926e-06/0.3694, allocations: 8 kB / 444.6 MB, free: 8.832 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004539/0.3699, allocations: 106.7 kB / 444.7 MB, free: 8.719 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004943/0.3704, allocations: 131.8 kB / 444.8 MB, free: 8.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00217/0.3726, allocations: 3.263 MB / 448.1 MB, free: 5.039 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000356/0.3729, allocations: 44.02 kB / 448.1 MB, free: 4.996 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.356e-05/0.373, allocations: 31.98 kB / 448.2 MB, free: 4.965 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.0002325/0.3733, allocations: 185.7 kB / 448.3 MB, free: 4.773 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002689/0.3735, allocations: 51.5 kB / 448.4 MB, free: 4.723 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001475/0.375, allocations: 0.8151 MB / 449.2 MB, free: 3.879 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.375, allocations: 4 kB / 449.2 MB, free: 3.875 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.375, allocations: 0 / 449.2 MB, free: 3.875 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00106/0.3761, allocations: 0.7673 MB / 450 MB, free: 3.035 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001901/0.378, allocations: 1.298 MB / 451.3 MB, free: 1.676 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.378, allocations: 4 kB / 451.3 MB, free: 1.672 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000426/0.3785, allocations: 95.89 kB / 451.4 MB, free: 1.578 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008985/0.3794, allocations: 148.7 kB / 451.5 MB, free: 1.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.794e-05/0.3794, allocations: 19.98 kB / 451.5 MB, free: 1.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003586/0.3798, allocations: 0.6483 MB / 452.2 MB, free: 0.7383 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/0.3798, allocations: 15.91 kB / 452.2 MB, free: 0.7227 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.15/0.5299, allocations: 0.8952 MB / 453.1 MB, free: 117.3 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002147/0.5301, allocations: 125.5 kB / 453.2 MB, free: 117.2 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.533e-05/0.5302, allocations: 17.41 kB / 453.2 MB, free: 117.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005183/0.5308, allocations: 39.84 kB / 453.3 MB, free: 117.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.496e-05/0.5308, allocations: 32.64 kB / 453.3 MB, free: 117.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.761e-05/0.5309, allocations: 29.73 kB / 453.3 MB, free: 117.2 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003814/0.5313, allocations: 257.3 kB / 453.6 MB, free: 117.2 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5313, allocations: 2.438 kB / 453.6 MB, free: 117.2 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003772/0.5351, allocations: 1.306 MB / 454.9 MB, free: 117.1 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.005158/0.5403, allocations: 1.69 MB / 456.6 MB, free: 117 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001497/0.5418, allocations: 0.8062 MB / 457.4 MB, free: 116.8 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.08e-06/0.5418, allocations: 1 kB / 457.4 MB, free: 116.8 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004952/0.5423, allocations: 288.8 kB / 457.7 MB, free: 116.7 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001477/0.5438, allocations: 274.8 kB / 457.9 MB, free: 116.7 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001587/0.5454, allocations: 1.344 MB / 459.3 MB, free: 116.1 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002088/0.5456, allocations: 0.8358 MB / 460.1 MB, free: 115.4 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004821/0.5461, allocations: 144.6 kB / 460.3 MB, free: 115.4 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001429/0.5463, allocations: 57.5 kB / 460.3 MB, free: 115.4 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.5463, allocations: 0 / 460.3 MB, free: 115.4 MB / 382.1 MB Notification: Performance of Templates: time 0.0464/0.5927, allocations: 45.74 MB / 0.4942 GB, free: 73.39 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)