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.001409/0.001409, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002023/0.002023, allocations: 191.3 kB / 16.25 MB, free: 6.629 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.338/1.338, allocations: 205.1 MB / 222.1 MB, free: 4.719 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.001164/0.001164, allocations: 48.36 kB / 278.2 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1871/0.1883, allocations: 46.64 MB / 324.8 MB, free: 1.941 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.06442/0.2527, allocations: 65.5 MB / 390.3 MB, free: 2.41 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0061/0.2589, allocations: 5.445 MB / 395.8 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000244/0.2591, allocations: 7.938 kB / 395.8 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000862/0.26, allocations: 310.5 kB / 396.1 MB, free: 12.63 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007305/0.2608, allocations: 489.4 kB / 396.6 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01546/0.2762, allocations: 6.399 MB / 403 MB, free: 5.738 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001854/0.2781, allocations: 1.555 MB / 404.5 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003335/0.2785, allocations: 216.8 kB / 404.7 MB, free: 3.965 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009895/0.2795, allocations: 0.6192 MB / 405.4 MB, free: 3.344 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000851/0.2803, allocations: 0.5956 MB / 406 MB, free: 2.746 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002073/0.2805, allocations: 84 kB / 406 MB, free: 2.664 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01576/0.2963, allocations: 10.07 MB / 416.1 MB, free: 8.582 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005595/0.2969, allocations: 323.2 kB / 416.4 MB, free: 8.266 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008315/0.2978, allocations: 434.4 kB / 416.8 MB, free: 7.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01245/0.3102, allocations: 6.058 MB / 422.9 MB, free: 1.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/0.3103, allocations: 4 kB / 422.9 MB, free: 1.766 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3103, allocations: 0 / 422.9 MB, free: 1.766 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.317e-05/0.3103, allocations: 0 / 422.9 MB, free: 1.766 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.003695/0.314, allocations: 1.548 MB / 424.5 MB, free: 172 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.3141, allocations: 19.95 kB / 424.5 MB, free: 152 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004398/0.3145, allocations: 87.25 kB / 424.6 MB, free: 64 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005734/0.3151, allocations: 440.8 kB / 425 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.592e-05/0.3152, allocations: 45.31 kB / 425 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.896e-05/0.3153, allocations: 64 kB / 425.1 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001698/0.317, allocations: 0.8068 MB / 425.9 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.39e-05/0.317, allocations: 3.906 kB / 425.9 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.99e-05/0.3171, allocations: 28 kB / 425.9 MB, free: 14.63 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.392e-05/0.3171, allocations: 16 kB / 426 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001761/0.3189, allocations: 1.036 MB / 427 MB, free: 13.58 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01658/0.3355, allocations: 12.78 MB / 439.8 MB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0017/0.3372, allocations: 0.741 MB / 440.5 MB, free: 13.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005481/0.3377, allocations: 410.8 kB / 440.9 MB, free: 13.51 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1503/0.4881, allocations: 12.24 MB / 453.1 MB, free: 117.9 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.204e-05/0.4882, allocations: 45.86 kB / 453.2 MB, free: 117.8 MB / 382.1 MB Notification: Performance of pre-optimization done (n=78): time 2.875e-06/0.4882, allocations: 0.5312 kB / 453.2 MB, free: 117.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=88): time 0.009653/0.4978, allocations: 3.371 MB / 456.6 MB, free: 116.8 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.4979, allocations: 61.97 kB / 456.6 MB, free: 116.7 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003422/0.4982, allocations: 358 kB / 457 MB, free: 116.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.976e-05/0.4983, allocations: 42.48 kB / 457 MB, free: 116.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.4984, allocations: 242.1 kB / 457.2 MB, free: 116.3 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001523/0.4986, allocations: 308.8 kB / 457.6 MB, free: 116 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002213/0.4988, allocations: 158 kB / 457.7 MB, free: 116 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.466e-05/0.4989, allocations: 361.4 kB / 458.1 MB, free: 115.6 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005148/0.4994, allocations: 370.4 kB / 458.4 MB, free: 115.5 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008122/0.5002, allocations: 499.7 kB / 458.9 MB, free: 115.3 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001516/0.5018, allocations: 0.8976 MB / 459.8 MB, free: 114.8 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.5018, allocations: 3.062 kB / 459.8 MB, free: 114.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002262/0.504, allocations: 1.122 MB / 460.9 MB, free: 114.3 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.5041, allocations: 3.969 kB / 460.9 MB, free: 114.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.5041, allocations: 3.812 kB / 460.9 MB, free: 114.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007422/0.5048, allocations: 172 kB / 461.1 MB, free: 114.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006924/0.5055, allocations: 192 kB / 461.3 MB, free: 114.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001823/0.5074, allocations: 4.116 MB / 465.4 MB, free: 110.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000532/0.5079, allocations: 71.5 kB / 465.5 MB, free: 110.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.03e-05/0.508, allocations: 43.39 kB / 465.5 MB, free: 110.2 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 (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.0002959/0.5083, allocations: 233.3 kB / 465.7 MB, free: 110 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003634/0.5087, allocations: 59 kB / 465.8 MB, free: 110 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001952/0.5106, allocations: 1.276 MB / 467.1 MB, free: 109.2 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.5107, allocations: 11.61 kB / 467.1 MB, free: 109.2 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.5107, allocations: 3.938 kB / 467.1 MB, free: 109.2 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00145/0.5121, allocations: 1.319 MB / 468.4 MB, free: 108.2 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002577/0.5147, allocations: 1.958 MB / 470.4 MB, free: 106.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.5147, allocations: 3.812 kB / 470.4 MB, free: 106.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006618/0.5154, allocations: 163.1 kB / 470.5 MB, free: 106.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001705/0.5171, allocations: 303.1 kB / 470.8 MB, free: 106.7 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.178e-05/0.5172, allocations: 26.17 kB / 470.9 MB, free: 106.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004783/0.5177, allocations: 1.291 MB / 472.2 MB, free: 105.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.5177, allocations: 2.094 kB / 472.2 MB, free: 105.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002134/0.5198, allocations: 1.409 MB / 473.6 MB, free: 104.7 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.5199, allocations: 129.8 kB / 473.7 MB, free: 104.6 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.733e-05/0.52, allocations: 26.67 kB / 473.7 MB, free: 104.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005856/0.5206, allocations: 51.3 kB / 473.8 MB, free: 104.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.352e-05/0.5207, allocations: 56.05 kB / 473.8 MB, free: 104.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.751e-05/0.5208, allocations: 43.97 kB / 473.9 MB, free: 104.4 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002378/0.5211, allocations: 283 kB / 474.1 MB, free: 104.2 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5211, allocations: 2.938 kB / 474.1 MB, free: 104.2 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003134/0.5242, allocations: 1.395 MB / 475.5 MB, free: 102.9 MB / 382.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.004676/0.5289, allocations: 1.756 MB / 477.3 MB, free: 101.4 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002267/0.5312, allocations: 1.263 MB / 478.6 MB, free: 100.2 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.5312, allocations: 7.844 kB / 478.6 MB, free: 100.1 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007346/0.5319, allocations: 495.2 kB / 479 MB, free: 99.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001726/0.5337, allocations: 397.1 kB / 479.4 MB, free: 99.29 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002277/0.536, allocations: 1.918 MB / 481.4 MB, free: 97.38 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002811/0.5363, allocations: 0.905 MB / 482.3 MB, free: 96.45 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007182/0.537, allocations: 197.3 kB / 482.4 MB, free: 96.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001915/0.5372, allocations: 79.41 kB / 482.5 MB, free: 96.17 MB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.5372, allocations: 0 / 482.5 MB, free: 96.17 MB / 382.1 MB Notification: Performance of Templates: time 0.0508/0.588, allocations: 51.23 MB / 0.5212 GB, free: 44.88 MB / 382.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)