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.001443/0.001443, allocations: 109.3 kB / 16.62 MB, free: 6.961 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.001632/0.001632, allocations: 190 kB / 17.54 MB, free: 6.066 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.301/1.301, allocations: 205.1 MB / 223.4 MB, free: 12.45 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.001235/0.001235, allocations: 43.94 kB / 279.5 MB, free: 3.512 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07829/0.07953, allocations: 46.64 MB / 326.1 MB, free: 4.805 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.2016/0.2812, allocations: 65.48 MB / 391.6 MB, free: 9.309 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005738/0.287, allocations: 5.45 MB / 397.1 MB, free: 9.211 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004828/0.2875, allocations: 6.375 kB / 397.1 MB, free: 9.211 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009622/0.2885, allocations: 318.5 kB / 397.4 MB, free: 9.207 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001088/0.2896, allocations: 492.4 kB / 397.9 MB, free: 9.195 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01746/0.3071, allocations: 6.389 MB / 404.3 MB, free: 8.961 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002373/0.3095, allocations: 1.556 MB / 405.8 MB, free: 8.832 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004036/0.3099, allocations: 214.5 kB / 406 MB, free: 8.801 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001335/0.3112, allocations: 0.6244 MB / 406.6 MB, free: 8.699 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009258/0.3121, allocations: 0.5971 MB / 407.2 MB, free: 8.613 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002191/0.3124, allocations: 81.91 kB / 407.3 MB, free: 8.613 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01654/0.3289, allocations: 10.07 MB / 417.4 MB, free: 5.348 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005335/0.3295, allocations: 325.5 kB / 417.7 MB, free: 5.129 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009785/0.3305, allocations: 435.4 kB / 418.1 MB, free: 4.879 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0103/0.3408, allocations: 6.052 MB / 424.2 MB, free: 15.43 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3408, allocations: 0 / 424.2 MB, free: 15.43 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3408, allocations: 0 / 424.2 MB, free: 15.43 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.988e-05/0.3409, allocations: 0 / 424.2 MB, free: 15.43 MB / 334.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.003768/0.3446, allocations: 1.553 MB / 425.7 MB, free: 13.84 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.3447, allocations: 8.031 kB / 425.7 MB, free: 13.83 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004507/0.3452, allocations: 83.8 kB / 425.8 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006045/0.3458, allocations: 435.2 kB / 426.3 MB, free: 13.28 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.464e-05/0.3458, allocations: 49.31 kB / 426.3 MB, free: 13.23 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.455e-05/0.3459, allocations: 64 kB / 426.4 MB, free: 13.17 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001819/0.3477, allocations: 0.8107 MB / 427.2 MB, free: 12.35 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.817e-05/0.3478, allocations: 7.906 kB / 427.2 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.42e-05/0.3479, allocations: 24 kB / 427.2 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.392e-05/0.3479, allocations: 16 kB / 427.2 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001859/0.3497, allocations: 1.028 MB / 428.3 MB, free: 11.28 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01688/0.3666, allocations: 12.78 MB / 441 MB, free: 12.4 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001686/0.3684, allocations: 0.7465 MB / 441.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005639/0.3689, allocations: 416 kB / 442.2 MB, free: 11.24 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01457/0.3835, allocations: 12.24 MB / 454.4 MB, free: 12.63 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.679e-05/0.3836, allocations: 47.16 kB / 454.5 MB, free: 12.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=78): time 2.314e-06/0.3836, allocations: 4 kB / 454.5 MB, free: 12.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=88): time 0.009922/0.3935, allocations: 3.37 MB / 457.8 MB, free: 9.137 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/0.3936, allocations: 64.41 kB / 457.9 MB, free: 9.059 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004254/0.394, allocations: 360.5 kB / 458.3 MB, free: 8.703 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.646e-05/0.3941, allocations: 41.7 kB / 458.3 MB, free: 8.656 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001478/0.3943, allocations: 236.6 kB / 458.5 MB, free: 8.418 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001923/0.3945, allocations: 304.5 kB / 458.8 MB, free: 8.121 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002253/0.3947, allocations: 166.5 kB / 459 MB, free: 7.953 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001976/0.3949, allocations: 359.7 kB / 459.3 MB, free: 7.594 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005416/0.3955, allocations: 373.8 kB / 459.7 MB, free: 7.227 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008928/0.3964, allocations: 492.2 kB / 460.2 MB, free: 6.715 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00163/0.398, allocations: 0.9012 MB / 461.1 MB, free: 5.785 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.398, allocations: 4 kB / 461.1 MB, free: 5.781 MB / 366.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002536/0.4006, allocations: 1.113 MB / 462.2 MB, free: 4.648 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.4006, allocations: 11.94 kB / 462.2 MB, free: 4.637 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.4006, allocations: 3.984 kB / 462.2 MB, free: 4.633 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008008/0.4014, allocations: 171.4 kB / 462.4 MB, free: 4.453 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007385/0.4022, allocations: 187.7 kB / 462.6 MB, free: 4.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002897/0.4051, allocations: 4.123 MB / 466.7 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005098/0.4056, allocations: 59.91 kB / 466.8 MB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.04e-05/0.4057, allocations: 43.98 kB / 466.8 MB, free: 15.72 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.0003197/0.406, allocations: 225.6 kB / 467 MB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004136/0.4064, allocations: 75.27 kB / 467.1 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002261/0.4087, allocations: 1.281 MB / 468.4 MB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/0.4087, allocations: 12 kB / 468.4 MB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.4087, allocations: 0 / 468.4 MB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001774/0.4105, allocations: 1.316 MB / 469.7 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00303/0.4136, allocations: 1.969 MB / 471.7 MB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.4136, allocations: 0 / 471.7 MB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007114/0.4143, allocations: 167.8 kB / 471.8 MB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001777/0.4161, allocations: 289.3 kB / 472.1 MB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.316e-05/0.4162, allocations: 31.98 kB / 472.1 MB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007378/0.4169, allocations: 1.285 MB / 473.4 MB, free: 8.809 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.4169, allocations: 0 / 473.4 MB, free: 8.809 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002506/0.4194, allocations: 1.425 MB / 474.9 MB, free: 7.355 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001441/0.4196, allocations: 128.6 kB / 475 MB, free: 7.211 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.91e-05/0.4197, allocations: 16 kB / 475 MB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006103/0.4203, allocations: 51.88 kB / 475.1 MB, free: 7.145 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.4204, allocations: 56.92 kB / 475.1 MB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.238e-05/0.4205, allocations: 43.97 kB / 475.1 MB, free: 7.047 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003069/0.4209, allocations: 287 kB / 475.4 MB, free: 6.77 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4209, allocations: 0 / 475.4 MB, free: 6.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003558/0.4244, allocations: 1.401 MB / 476.8 MB, free: 5.367 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.005979/0.4304, allocations: 1.742 MB / 478.6 MB, free: 3.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002729/0.4332, allocations: 1.269 MB / 479.8 MB, free: 2.445 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.4332, allocations: 0 / 479.8 MB, free: 2.445 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009083/0.4341, allocations: 0.4952 MB / 480.3 MB, free: 1.945 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001899/0.436, allocations: 388.6 kB / 480.7 MB, free: 1.566 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002864/0.4389, allocations: 1.906 MB / 482.6 MB, free: 15.64 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004521/0.4393, allocations: 0.905 MB / 483.5 MB, free: 14.71 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0007688/0.4401, allocations: 213.1 kB / 483.7 MB, free: 14.5 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002144/0.4403, allocations: 79.41 kB / 483.8 MB, free: 14.42 MB / 398.1 MB Notification: Performance of SimCode: time 3.4e-07/0.4404, allocations: 0 / 483.8 MB, free: 14.42 MB / 398.1 MB Notification: Performance of Templates: time 0.06544/0.5058, allocations: 51.23 MB / 0.5225 GB, free: 11.14 MB / 446.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)