Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2.2_Modelica.Media.Examples.ReferenceAir.DryAir2") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001424/0.001424, allocations: 103.1 kB / 16.62 MB, free: 6.809 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.001579/0.001579, allocations: 193.8 kB / 17.55 MB, free: 5.949 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.292/1.292, allocations: 205.1 MB / 223.4 MB, free: 12.44 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.001213/0.001213, allocations: 59.92 kB / 279.5 MB, free: 3.496 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08301/0.08424, allocations: 46.62 MB / 326.1 MB, free: 4.797 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.03178/0.1161, allocations: 37.31 MB / 363.4 MB, free: 15.34 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005301/0.1215, allocations: 4.553 MB / 368 MB, free: 10.77 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000251/0.1217, allocations: 7.938 kB / 368 MB, free: 10.77 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007632/0.1226, allocations: 258.7 kB / 368.3 MB, free: 10.51 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007672/0.1233, allocations: 457.7 kB / 368.7 MB, free: 10.06 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003933/0.1273, allocations: 1.456 MB / 370.2 MB, free: 8.602 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001272/0.1286, allocations: 1.273 MB / 371.4 MB, free: 7.324 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002522/0.1288, allocations: 166.5 kB / 371.6 MB, free: 7.164 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004843/0.1293, allocations: 482.4 kB / 372.1 MB, free: 6.691 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004253/0.1297, allocations: 422.3 kB / 372.5 MB, free: 6.277 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.482e-05/0.1298, allocations: 44 kB / 372.5 MB, free: 6.234 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001214/0.131, allocations: 0.7726 MB / 373.3 MB, free: 5.461 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001303/0.1312, allocations: 127.6 kB / 373.4 MB, free: 5.336 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002407/0.1314, allocations: 282.9 kB / 373.7 MB, free: 5.059 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001138/0.1326, allocations: 1.036 MB / 374.7 MB, free: 4.02 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.1326, allocations: 3.938 kB / 374.7 MB, free: 4.016 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1326, allocations: 0 / 374.7 MB, free: 4.016 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.296e-06/0.1326, allocations: 4 kB / 374.7 MB, free: 4.012 MB / 318.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.001019/0.1336, allocations: 0.772 MB / 375.5 MB, free: 3.191 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.1337, allocations: 11.89 kB / 375.5 MB, free: 3.18 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005664/0.1343, allocations: 84.28 kB / 375.6 MB, free: 3.098 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003867/0.1347, allocations: 343.3 kB / 375.9 MB, free: 2.723 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.461e-05/0.1347, allocations: 29.38 kB / 376 MB, free: 2.695 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.443e-05/0.1348, allocations: 48.38 kB / 376 MB, free: 2.648 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006539/0.1354, allocations: 467.7 kB / 376.5 MB, free: 2.148 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/0.1354, allocations: 7.984 kB / 376.5 MB, free: 2.141 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.13e-05/0.1355, allocations: 16 kB / 376.5 MB, free: 2.125 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.918e-06/0.1355, allocations: 8 kB / 376.5 MB, free: 2.117 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004392/0.1359, allocations: 303.7 kB / 376.8 MB, free: 1.82 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1588/0.2948, allocations: 6.731 MB / 383.5 MB, free: 55.2 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000431/0.2952, allocations: 271.2 kB / 383.8 MB, free: 55.17 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001941/0.2954, allocations: 151.4 kB / 383.9 MB, free: 55.16 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01032/0.3057, allocations: 3.895 MB / 387.8 MB, free: 53.35 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/0.3058, allocations: 40.92 kB / 387.9 MB, free: 53.3 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 2.024e-06/0.3058, allocations: 0 / 387.9 MB, free: 53.3 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.01181/0.3176, allocations: 2.456 MB / 390.3 MB, free: 52.03 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.652e-05/0.3177, allocations: 55.53 kB / 390.4 MB, free: 51.96 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002847/0.318, allocations: 302 kB / 390.7 MB, free: 51.77 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.033e-05/0.318, allocations: 34.92 kB / 390.7 MB, free: 51.73 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.144e-05/0.3181, allocations: 224.4 kB / 390.9 MB, free: 51.53 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.432e-05/0.3182, allocations: 164.9 kB / 391.1 MB, free: 51.39 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/0.3183, allocations: 97.62 kB / 391.2 MB, free: 51.33 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.803e-05/0.3184, allocations: 346.8 kB / 391.5 MB, free: 50.99 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002295/0.3186, allocations: 154.7 kB / 391.7 MB, free: 50.91 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002812/0.3189, allocations: 279 kB / 392 MB, free: 50.69 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005288/0.3194, allocations: 467.6 kB / 392.4 MB, free: 50.36 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.3195, allocations: 4.75 kB / 392.4 MB, free: 50.36 MB / 318.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.000927/0.3204, allocations: 0.5889 MB / 393 MB, free: 50.04 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.3204, allocations: 10.22 kB / 393 MB, free: 50.04 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.3204, allocations: 7.938 kB / 393 MB, free: 50.04 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007841/0.3283, allocations: 1.848 MB / 394.9 MB, free: 49.22 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004146/0.3287, allocations: 114.3 kB / 395 MB, free: 49.2 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001366/0.3301, allocations: 2.569 MB / 397.5 MB, free: 46.62 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003396/0.3304, allocations: 27.8 kB / 397.6 MB, free: 46.61 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.166e-05/0.3305, allocations: 27.83 kB / 397.6 MB, free: 46.6 MB / 318.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.0001858/0.3307, allocations: 173.6 kB / 397.8 MB, free: 46.44 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.36e-05/0.3308, allocations: 39.38 kB / 397.8 MB, free: 46.42 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009285/0.3317, allocations: 0.8608 MB / 398.7 MB, free: 45.91 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.3317, allocations: 11.95 kB / 398.7 MB, free: 45.9 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.3317, allocations: 4.844 kB / 398.7 MB, free: 45.9 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007255/0.3324, allocations: 0.952 MB / 399.6 MB, free: 45.2 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001477/0.3339, allocations: 1.486 MB / 401.1 MB, free: 44.03 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.334, allocations: 0 / 401.1 MB, free: 44.03 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002791/0.3342, allocations: 75.89 kB / 401.2 MB, free: 43.95 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00327/0.3375, allocations: 0.6255 MB / 401.8 MB, free: 43.32 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.379e-05/0.3376, allocations: 19.98 kB / 401.8 MB, free: 43.3 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006309/0.3382, allocations: 1.284 MB / 403.1 MB, free: 41.96 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.3382, allocations: 0 / 403.1 MB, free: 41.96 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001132/0.3394, allocations: 1.219 MB / 404.3 MB, free: 40.72 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.005e-05/0.3394, allocations: 124.5 kB / 404.5 MB, free: 40.58 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.854e-05/0.3395, allocations: 11.94 kB / 404.5 MB, free: 40.57 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002818/0.3398, allocations: 23.97 kB / 404.5 MB, free: 40.55 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.843e-05/0.3398, allocations: 31.95 kB / 404.5 MB, free: 40.52 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-05/0.3399, allocations: 15.98 kB / 404.6 MB, free: 40.5 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001715/0.3401, allocations: 210.6 kB / 404.8 MB, free: 40.3 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3401, allocations: 4 kB / 404.8 MB, free: 40.29 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008731/0.341, allocations: 230.7 kB / 405 MB, free: 40.08 MB / 318.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.0005992/0.3416, allocations: 270.6 kB / 405.3 MB, free: 39.84 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001188/0.3428, allocations: 0.7201 MB / 406 MB, free: 39.11 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.3428, allocations: 0 / 406 MB, free: 39.11 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007581/0.3435, allocations: 437 kB / 406.4 MB, free: 38.69 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001136/0.3447, allocations: 252.4 kB / 406.6 MB, free: 38.45 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001555/0.3463, allocations: 1.43 MB / 408.1 MB, free: 37.02 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002289/0.3465, allocations: 0.8401 MB / 408.9 MB, free: 36.15 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002935/0.3468, allocations: 71.72 kB / 409 MB, free: 36.09 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.889e-05/0.3469, allocations: 35.44 kB / 409 MB, free: 36.05 MB / 318.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3469, allocations: 0 / 409 MB, free: 36.05 MB / 318.1 MB Notification: Performance of Templates: time 0.01687/0.3638, allocations: 12.62 MB / 421.6 MB, free: 23.45 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile (rm -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1)