Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir2.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.DryAir2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir2") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.008382/0.008382, allocations: 171.7 kB / 16.26 MB, free: 6.613 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.353/1.353, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.0004362/0.0004363, allocations: 12 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2143/0.2147, allocations: 47.59 MB / 327 MB, free: 1.395 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.03437/0.2491, allocations: 36.9 MB / 363.9 MB, free: 14.37 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005489/0.2547, allocations: 4.569 MB / 368.5 MB, free: 9.785 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000415/0.2551, allocations: 4 kB / 368.5 MB, free: 9.781 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008008/0.2559, allocations: 246.7 kB / 368.7 MB, free: 9.539 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009434/0.2569, allocations: 477.6 kB / 369.2 MB, free: 9.07 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0049/0.2618, allocations: 1.391 MB / 370.6 MB, free: 7.676 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00199/0.2638, allocations: 1.955 MB / 372.5 MB, free: 5.715 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000253/0.2641, allocations: 123.2 kB / 372.7 MB, free: 5.594 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006073/0.2647, allocations: 398.5 kB / 373.1 MB, free: 5.203 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004927/0.2652, allocations: 418.3 kB / 373.5 MB, free: 4.793 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.417e-05/0.2652, allocations: 24 kB / 373.5 MB, free: 4.77 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001669/0.2669, allocations: 0.7141 MB / 374.2 MB, free: 4.055 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001418/0.2671, allocations: 111.6 kB / 374.3 MB, free: 3.945 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003185/0.2674, allocations: 284.6 kB / 374.6 MB, free: 3.66 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001338/0.2687, allocations: 1.013 MB / 375.6 MB, free: 2.645 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.2688, allocations: 0 / 375.6 MB, free: 2.645 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.2688, allocations: 0 / 375.6 MB, free: 2.645 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.663e-06/0.2688, allocations: 4 kB / 375.6 MB, free: 2.641 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001027/0.2698, allocations: 0.6785 MB / 376.3 MB, free: 1.914 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.2699, allocations: 8.031 kB / 376.3 MB, free: 1.906 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005613/0.2704, allocations: 84.34 kB / 376.4 MB, free: 1.824 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004283/0.2709, allocations: 327.5 kB / 376.7 MB, free: 1.465 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.033e-05/0.2709, allocations: 33.38 kB / 376.7 MB, free: 1.434 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.439e-05/0.271, allocations: 40.38 kB / 376.8 MB, free: 1.395 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006972/0.2717, allocations: 475.6 kB / 377.2 MB, free: 0.8867 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.247e-05/0.2717, allocations: 11.97 kB / 377.2 MB, free: 0.875 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.493e-05/0.2718, allocations: 16 kB / 377.3 MB, free: 0.8594 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.938e-06/0.2718, allocations: 8 kB / 377.3 MB, free: 0.8516 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004572/0.2723, allocations: 311.6 kB / 377.6 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01328/0.2855, allocations: 6.746 MB / 384.3 MB, free: 9.215 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004544/0.286, allocations: 278.5 kB / 384.6 MB, free: 8.934 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002206/0.2863, allocations: 156.7 kB / 384.7 MB, free: 8.777 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01021/0.2965, allocations: 3.869 MB / 388.6 MB, free: 4.609 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/0.2966, allocations: 42.55 kB / 388.7 MB, free: 4.559 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 3.166e-06/0.2966, allocations: 0 / 388.7 MB, free: 4.559 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.01182/0.3084, allocations: 2.481 MB / 391.1 MB, free: 2 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/0.3085, allocations: 55.41 kB / 391.2 MB, free: 1.934 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003675/0.3089, allocations: 307.2 kB / 391.5 MB, free: 1.621 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.67e-05/0.3089, allocations: 33.7 kB / 391.5 MB, free: 1.582 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001581/0.3091, allocations: 220 kB / 391.7 MB, free: 1.363 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001224/0.3092, allocations: 165.7 kB / 391.9 MB, free: 1.199 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.937e-05/0.3093, allocations: 49.69 kB / 391.9 MB, free: 1.145 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.3094, allocations: 342.8 kB / 392.3 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002552/0.3097, allocations: 153.1 kB / 392.4 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003505/0.3101, allocations: 279.7 kB / 392.7 MB, free: 340 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006251/0.3107, allocations: 472.3 kB / 393.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3107, allocations: 0 / 393.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001062/0.3118, allocations: 0.5955 MB / 393.8 MB, free: 15.21 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.3118, allocations: 11.94 kB / 393.8 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.3118, allocations: 4.469 kB / 393.8 MB, free: 15.19 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006576/0.3184, allocations: 0.7674 MB / 394.5 MB, free: 14.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004348/0.3189, allocations: 107.8 kB / 394.6 MB, free: 14.31 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002073/0.3209, allocations: 2.471 MB / 397.1 MB, free: 11.65 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004006/0.3214, allocations: 31.89 kB / 397.1 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.432e-05/0.3214, allocations: 32.05 kB / 397.2 MB, free: 11.59 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 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): 3 systems {(2,1), (2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002511/0.3217, allocations: 177.7 kB / 397.4 MB, free: 11.4 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.321e-05/0.3217, allocations: 47.5 kB / 397.4 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001141/0.3229, allocations: 0.8514 MB / 398.3 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/0.3229, allocations: 11.98 kB / 398.3 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.524e-06/0.3229, allocations: 0 / 398.3 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001013/0.3239, allocations: 0.9611 MB / 399.2 MB, free: 9.441 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001884/0.3258, allocations: 1.489 MB / 400.7 MB, free: 7.887 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.144e-06/0.3259, allocations: 4 kB / 400.7 MB, free: 7.883 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003039/0.3262, allocations: 71.89 kB / 400.8 MB, free: 7.812 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003525/0.3297, allocations: 0.6374 MB / 401.4 MB, free: 7.168 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.869e-05/0.3298, allocations: 11.98 kB / 401.4 MB, free: 7.156 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009436/0.3307, allocations: 1.284 MB / 402.7 MB, free: 5.82 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.3307, allocations: 48 / 402.7 MB, free: 5.82 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001524/0.3323, allocations: 1.226 MB / 403.9 MB, free: 4.57 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001359/0.3324, allocations: 116.6 kB / 404.1 MB, free: 4.438 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.396e-05/0.3325, allocations: 12 kB / 404.1 MB, free: 4.426 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002819/0.3328, allocations: 31.88 kB / 404.1 MB, free: 4.395 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.989e-05/0.3328, allocations: 27.95 kB / 404.1 MB, free: 4.367 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.225e-05/0.3329, allocations: 19.92 kB / 404.2 MB, free: 4.348 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002113/0.3331, allocations: 217.9 kB / 404.4 MB, free: 4.133 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.3331, allocations: 0 / 404.4 MB, free: 4.133 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007637/0.3339, allocations: 231.9 kB / 404.6 MB, free: 3.906 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,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 (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 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,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005792/0.3344, allocations: 266.9 kB / 404.9 MB, free: 3.633 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001171/0.3356, allocations: 0.6908 MB / 405.5 MB, free: 2.93 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.3356, allocations: 0 / 405.5 MB, free: 2.93 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000878/0.3365, allocations: 429.2 kB / 406 MB, free: 2.512 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001333/0.3379, allocations: 237.1 kB / 406.2 MB, free: 2.281 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001906/0.3398, allocations: 1.529 MB / 407.7 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003752/0.3402, allocations: 0.8363 MB / 408.6 MB, free: 15.87 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002965/0.3405, allocations: 68.34 kB / 408.6 MB, free: 15.8 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.062e-05/0.3406, allocations: 43.36 kB / 408.7 MB, free: 15.75 MB / 350.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3406, allocations: 0 / 408.7 MB, free: 15.75 MB / 350.1 MB Notification: Performance of Templates: time 0.01898/0.3596, allocations: 12.1 MB / 420.8 MB, free: 3.637 MB / 350.1 MB make -j1 -f Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile (rm -f Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1)