Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1.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.DryAir1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001365/0.001364, allocations: 94.72 kB / 16.3 MB, free: 5.996 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.001485/0.001485, allocations: 183.1 kB / 17.2 MB, free: 5.898 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.4 MB / 223.4 MB, free: 13.17 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.0004348/0.0004349, allocations: 16 kB / 280.1 MB, free: 3.762 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08318/0.08362, allocations: 47.58 MB / 327.7 MB, free: 4.117 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.01782/0.1015, allocations: 16.39 MB / 344.1 MB, free: 3.672 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005659/0.1072, allocations: 4.756 MB / 348.8 MB, free: 14.9 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003485/0.1076, allocations: 4 kB / 348.8 MB, free: 14.9 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006945/0.1083, allocations: 175.2 kB / 349 MB, free: 14.73 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005762/0.1089, allocations: 231.4 kB / 349.2 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003264/0.1122, allocations: 1.2 MB / 350.4 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007413/0.1129, allocations: 0.4951 MB / 350.9 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001668/0.1131, allocations: 68.69 kB / 351 MB, free: 12.74 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009219/0.1223, allocations: 7.227 MB / 358.2 MB, free: 5.508 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003154/0.1227, allocations: 167.3 kB / 358.4 MB, free: 5.344 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.92e-05/0.1227, allocations: 16 kB / 358.4 MB, free: 5.328 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001382/0.1241, allocations: 0.7297 MB / 359.1 MB, free: 4.598 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.476e-05/0.1242, allocations: 67.8 kB / 359.2 MB, free: 4.531 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001064/0.1243, allocations: 93.58 kB / 359.3 MB, free: 4.434 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008359/0.1252, allocations: 0.6004 MB / 359.9 MB, free: 3.832 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.1252, allocations: 0 / 359.9 MB, free: 3.832 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1252, allocations: 0 / 359.9 MB, free: 3.832 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.1252, allocations: 3.938 kB / 359.9 MB, free: 3.828 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0008547/0.1261, allocations: 0.5924 MB / 360.5 MB, free: 3.188 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.1261, allocations: 15.97 kB / 360.5 MB, free: 3.172 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004459/0.1266, allocations: 55.61 kB / 360.6 MB, free: 3.117 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003611/0.1269, allocations: 270.6 kB / 360.8 MB, free: 2.812 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.205e-05/0.127, allocations: 20.56 kB / 360.8 MB, free: 2.793 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.978e-05/0.127, allocations: 24 kB / 360.9 MB, free: 2.77 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004704/0.1275, allocations: 338.4 kB / 361.2 MB, free: 2.398 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.1275, allocations: 3.953 kB / 361.2 MB, free: 2.395 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.351e-05/0.1276, allocations: 12 kB / 361.2 MB, free: 2.383 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.1276, allocations: 8 kB / 361.2 MB, free: 2.375 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003187/0.1279, allocations: 206 kB / 361.4 MB, free: 2.176 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01229/0.1402, allocations: 5.912 MB / 367.3 MB, free: 11.76 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002867/0.1405, allocations: 183.2 kB / 367.5 MB, free: 11.57 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009831/0.1503, allocations: 3.865 MB / 371.4 MB, free: 7.41 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/0.1504, allocations: 42.7 kB / 371.4 MB, free: 7.359 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 3.777e-06/0.1504, allocations: 0 / 371.4 MB, free: 7.359 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.006301/0.1567, allocations: 1.42 MB / 372.8 MB, free: 5.863 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.708e-05/0.1568, allocations: 63.39 kB / 372.9 MB, free: 5.789 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002959/0.1571, allocations: 254.6 kB / 373.1 MB, free: 5.531 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.624e-05/0.1572, allocations: 33.7 kB / 373.2 MB, free: 5.492 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001311/0.1573, allocations: 184.1 kB / 373.4 MB, free: 5.309 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.593e-05/0.1574, allocations: 94.64 kB / 373.5 MB, free: 5.215 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.556e-05/0.1574, allocations: 8 kB / 373.5 MB, free: 5.207 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.1576, allocations: 334.8 kB / 373.8 MB, free: 4.871 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001657/0.1577, allocations: 91.97 kB / 373.9 MB, free: 4.781 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002242/0.158, allocations: 190.6 kB / 374.1 MB, free: 4.555 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000202/0.1582, allocations: 120 kB / 374.2 MB, free: 4.438 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1582, allocations: 0 / 374.2 MB, free: 4.438 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006797/0.1589, allocations: 403 kB / 374.6 MB, free: 4.031 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.1589, allocations: 4 kB / 374.6 MB, free: 4.027 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.1589, allocations: 4 kB / 374.6 MB, free: 4.023 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00322/0.1621, allocations: 401.4 kB / 375 MB, free: 3.625 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002586/0.1624, allocations: 75.89 kB / 375 MB, free: 3.551 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001402/0.1638, allocations: 1.895 MB / 376.9 MB, free: 1.5 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002597/0.1641, allocations: 19.98 kB / 377 MB, free: 1.48 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.636e-05/0.1641, allocations: 20.06 kB / 377 MB, free: 1.461 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002082/0.1644, allocations: 153.7 kB / 377.1 MB, free: 1.301 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.119e-05/0.1644, allocations: 27.72 kB / 377.2 MB, free: 1.273 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007412/0.1652, allocations: 0.49 MB / 377.6 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/0.1652, allocations: 12 kB / 377.7 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.1652, allocations: 3.953 kB / 377.7 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1549/0.3201, allocations: 0.7086 MB / 378.4 MB, free: 56.57 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001504/0.3216, allocations: 0.9366 MB / 379.3 MB, free: 56.26 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.3217, allocations: 1.125 kB / 379.3 MB, free: 56.26 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002009/0.3219, allocations: 44.14 kB / 379.4 MB, free: 56.26 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001731/0.3236, allocations: 331.9 kB / 379.7 MB, free: 56.25 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.076e-05/0.3237, allocations: 11.2 kB / 379.7 MB, free: 56.25 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003795/0.3241, allocations: 0.6391 MB / 380.3 MB, free: 55.73 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.3241, allocations: 1.375 kB / 380.3 MB, free: 55.73 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001111/0.3252, allocations: 0.738 MB / 381.1 MB, free: 55.56 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000116/0.3253, allocations: 105.2 kB / 381.2 MB, free: 55.47 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.348e-05/0.3254, allocations: 10.62 kB / 381.2 MB, free: 55.47 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002205/0.3256, allocations: 17.23 kB / 381.2 MB, free: 55.47 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.064e-05/0.3257, allocations: 16.7 kB / 381.2 MB, free: 55.47 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-05/0.3257, allocations: 11.47 kB / 381.2 MB, free: 55.47 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002264/0.3259, allocations: 183.5 kB / 381.4 MB, free: 55.39 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3259, allocations: 4.469 kB / 381.4 MB, free: 55.39 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007564/0.3267, allocations: 190.5 kB / 381.6 MB, free: 55.39 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006348/0.3273, allocations: 265.4 kB / 381.9 MB, free: 55.3 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007981/0.3282, allocations: 450.3 kB / 382.3 MB, free: 55.19 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.3282, allocations: 0 / 382.3 MB, free: 55.19 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005231/0.3287, allocations: 230.4 kB / 382.5 MB, free: 55.18 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009582/0.3297, allocations: 157.4 kB / 382.7 MB, free: 55.15 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001417/0.3311, allocations: 0.9558 MB / 383.6 MB, free: 54.65 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002777/0.3314, allocations: 0.7835 MB / 384.4 MB, free: 53.95 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002761/0.3317, allocations: 50.88 kB / 384.5 MB, free: 53.94 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.85e-05/0.3318, allocations: 32.5 kB / 384.5 MB, free: 53.93 MB / 318.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3318, allocations: 0 / 384.5 MB, free: 53.93 MB / 318.1 MB Notification: Performance of Templates: time 0.01705/0.3488, allocations: 9.365 MB / 393.9 MB, free: 50.5 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) Environment - environmentSimulation: