Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1") translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.001076/0.001076, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001204/0.001204, allocations: 196.4 kB / 16.14 MB, free: 6.707 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.348/1.348, allocations: 205.1 MB / 222 MB, free: 4.98 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.002066/0.002066, allocations: 48.31 kB / 278 MB, free: 13.02 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2191/0.2212, allocations: 46.63 MB / 324.7 MB, free: 2.039 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.05255/0.2738, allocations: 52.38 MB / 377 MB, free: 15.8 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006264/0.2801, allocations: 5.289 MB / 382.3 MB, free: 10.5 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002275/0.2804, allocations: 4 kB / 382.3 MB, free: 10.49 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007597/0.2812, allocations: 210.9 kB / 382.5 MB, free: 10.29 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005621/0.2818, allocations: 358.2 kB / 382.9 MB, free: 9.934 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01448/0.2962, allocations: 5.599 MB / 388.5 MB, free: 4.32 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001658/0.2979, allocations: 1.61 MB / 390.1 MB, free: 2.703 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002933/0.2982, allocations: 110.1 kB / 390.2 MB, free: 2.594 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007289/0.3055, allocations: 3.651 MB / 393.9 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006757/0.3062, allocations: 418.6 kB / 394.3 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001267/0.3064, allocations: 28 kB / 394.3 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01563/0.322, allocations: 9.958 MB / 404.3 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003032/0.3224, allocations: 199.5 kB / 404.5 MB, free: 4.324 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003993/0.3228, allocations: 270.9 kB / 404.7 MB, free: 4.059 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01176/0.3345, allocations: 5.574 MB / 410.3 MB, free: 14.47 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.3346, allocations: 0 / 410.3 MB, free: 14.47 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3346, allocations: 0 / 410.3 MB, free: 14.47 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.614e-06/0.3346, allocations: 4 kB / 410.3 MB, free: 14.47 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.002885/0.3375, allocations: 1.337 MB / 411.6 MB, free: 13.08 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.3375, allocations: 16.02 kB / 411.7 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003196/0.3379, allocations: 51.53 kB / 411.7 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004448/0.3383, allocations: 377.8 kB / 412.1 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.43e-05/0.3384, allocations: 32.94 kB / 412.1 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.672e-05/0.3384, allocations: 44 kB / 412.1 MB, free: 12.53 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/0.3397, allocations: 0.5804 MB / 412.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/0.3397, allocations: 4 kB / 412.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.548e-05/0.3398, allocations: 20 kB / 412.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.457e-06/0.3398, allocations: 8 kB / 412.8 MB, free: 11.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001307/0.3411, allocations: 0.7534 MB / 413.5 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01609/0.3572, allocations: 11.96 MB / 425.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001255/0.3585, allocations: 0.5275 MB / 426 MB, free: 12.59 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003646/0.3589, allocations: 262 kB / 426.3 MB, free: 12.33 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01437/0.3732, allocations: 11.89 MB / 438.1 MB, free: 14.13 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.525e-05/0.3733, allocations: 43 kB / 438.2 MB, free: 14.08 MB / 382.1 MB Notification: Performance of pre-optimization done (n=50): time 2.083e-06/0.3733, allocations: 3.938 kB / 438.2 MB, free: 14.08 MB / 382.1 MB Notification: Performance of matching and sorting (n=55): time 0.005772/0.3791, allocations: 2.116 MB / 440.3 MB, free: 11.87 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/0.3792, allocations: 59.97 kB / 440.4 MB, free: 11.79 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003467/0.3795, allocations: 322.9 kB / 440.7 MB, free: 11.47 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.22e-05/0.3796, allocations: 37.7 kB / 440.7 MB, free: 11.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.3797, allocations: 196.3 kB / 440.9 MB, free: 11.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000136/0.3799, allocations: 197.2 kB / 441.1 MB, free: 11.04 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001716/0.3801, allocations: 118.1 kB / 441.2 MB, free: 10.91 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.3802, allocations: 350.8 kB / 441.6 MB, free: 10.56 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003735/0.3806, allocations: 237 kB / 441.8 MB, free: 10.33 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006173/0.3812, allocations: 335.4 kB / 442.1 MB, free: 9.969 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001156/0.3824, allocations: 0.6073 MB / 442.7 MB, free: 9.328 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3824, allocations: 0 / 442.7 MB, free: 9.328 MB / 382.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001762/0.3841, allocations: 0.744 MB / 443.5 MB, free: 8.566 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.3842, allocations: 12.22 kB / 443.5 MB, free: 8.555 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.3842, allocations: 4 kB / 443.5 MB, free: 8.551 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004689/0.3847, allocations: 106.4 kB / 443.6 MB, free: 8.438 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005097/0.3852, allocations: 123.8 kB / 443.7 MB, free: 8.316 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002323/0.3875, allocations: 3.271 MB / 447 MB, free: 4.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003695/0.3879, allocations: 44.02 kB / 447 MB, free: 4.707 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-05/0.388, allocations: 35.98 kB / 447.1 MB, free: 4.672 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.0002636/0.3882, allocations: 185.7 kB / 447.2 MB, free: 4.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002855/0.3885, allocations: 43.53 kB / 447.3 MB, free: 4.438 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001477/0.39, allocations: 0.819 MB / 448.1 MB, free: 3.59 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.459e-05/0.39, allocations: 4 kB / 448.1 MB, free: 3.586 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.3901, allocations: 4 kB / 448.1 MB, free: 3.582 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001086/0.3912, allocations: 0.7712 MB / 448.9 MB, free: 2.738 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00196/0.3931, allocations: 1.305 MB / 450.2 MB, free: 1.371 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.3931, allocations: 0 / 450.2 MB, free: 1.371 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004582/0.3936, allocations: 99.88 kB / 450.3 MB, free: 1.273 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009495/0.3946, allocations: 144.7 kB / 450.4 MB, free: 1.129 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.155e-05/0.3946, allocations: 19.98 kB / 450.4 MB, free: 1.109 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000384/0.395, allocations: 0.6444 MB / 451.1 MB, free: 448 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.395, allocations: 3.938 kB / 451.1 MB, free: 444 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1441/0.5392, allocations: 0.8955 MB / 452 MB, free: 118 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001581/0.5394, allocations: 117.2 kB / 452.1 MB, free: 117.9 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001146/0.5395, allocations: 17.38 kB / 452.1 MB, free: 117.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005379/0.54, allocations: 32.89 kB / 452.2 MB, free: 117.9 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.819e-05/0.5401, allocations: 34.06 kB / 452.2 MB, free: 117.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.324e-05/0.5402, allocations: 31.52 kB / 452.2 MB, free: 117.9 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003653/0.5406, allocations: 253.7 kB / 452.5 MB, free: 117.8 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.492e-06/0.5406, allocations: 0 / 452.5 MB, free: 117.8 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003904/0.5445, allocations: 1.315 MB / 453.8 MB, free: 117.8 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.005748/0.5503, allocations: 1.695 MB / 455.5 MB, free: 117.6 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001498/0.5518, allocations: 0.7972 MB / 456.3 MB, free: 117.3 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.5518, allocations: 4.375 kB / 456.3 MB, free: 117.3 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005435/0.5524, allocations: 285.7 kB / 456.6 MB, free: 117.2 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001444/0.5538, allocations: 274.2 kB / 456.8 MB, free: 117.1 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001771/0.5556, allocations: 1.267 MB / 458.1 MB, free: 116.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002188/0.5559, allocations: 0.8297 MB / 458.9 MB, free: 115.8 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005421/0.5564, allocations: 143.3 kB / 459.1 MB, free: 115.7 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000153/0.5566, allocations: 57.67 kB / 459.1 MB, free: 115.7 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.5566, allocations: 0 / 459.1 MB, free: 115.7 MB / 382.1 MB Notification: Performance of Templates: time 0.04951/0.6061, allocations: 45.85 MB / 0.4931 GB, free: 73.86 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile (rm -f Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & ./Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1)