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.001523/0.001523, allocations: 101.8 kB / 16.5 MB, free: 6.645 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.001735/0.001735, allocations: 194.1 kB / 17.42 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.342/1.342, allocations: 205.1 MB / 223.3 MB, free: 12.47 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.001159/0.00116, allocations: 55.94 kB / 279.3 MB, free: 3.605 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08302/0.08419, allocations: 46.63 MB / 325.9 MB, free: 4.91 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02534/0.1096, allocations: 27.31 MB / 353.3 MB, free: 9.488 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004569/0.1142, allocations: 4.206 MB / 357.5 MB, free: 5.27 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002186/0.1144, allocations: 4 kB / 357.5 MB, free: 5.266 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006293/0.1151, allocations: 183 kB / 357.6 MB, free: 5.086 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005472/0.1157, allocations: 318.4 kB / 358 MB, free: 4.773 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003827/0.1195, allocations: 1.241 MB / 359.2 MB, free: 3.527 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001256/0.1208, allocations: 1.336 MB / 360.5 MB, free: 2.188 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001692/0.121, allocations: 76.67 kB / 360.6 MB, free: 2.113 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007137/0.1281, allocations: 4.207 MB / 364.8 MB, free: 13.9 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003635/0.1285, allocations: 290.8 kB / 365.1 MB, free: 13.61 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.504e-05/0.1286, allocations: 16 kB / 365.1 MB, free: 13.6 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001411/0.13, allocations: 0.7063 MB / 365.8 MB, free: 12.89 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00013/0.1301, allocations: 79.72 kB / 365.9 MB, free: 12.81 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002286/0.1304, allocations: 175.3 kB / 366.1 MB, free: 12.64 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009747/0.1313, allocations: 0.8261 MB / 366.9 MB, free: 11.81 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1314, allocations: 0 / 366.9 MB, free: 11.81 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.11e-07/0.1314, allocations: 0 / 366.9 MB, free: 11.81 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.1314, allocations: 0 / 366.9 MB, free: 11.81 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0008832/0.1323, allocations: 0.6549 MB / 367.5 MB, free: 11.11 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.1323, allocations: 12.03 kB / 367.6 MB, free: 11.1 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004553/0.1328, allocations: 56.53 kB / 367.6 MB, free: 11.04 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003633/0.1331, allocations: 287.7 kB / 367.9 MB, free: 10.72 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.24e-05/0.1332, allocations: 16.94 kB / 367.9 MB, free: 10.71 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.87e-05/0.1332, allocations: 32.38 kB / 367.9 MB, free: 10.68 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005527/0.1338, allocations: 342.6 kB / 368.3 MB, free: 10.3 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/0.1338, allocations: 0 / 368.3 MB, free: 10.3 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.674e-05/0.1339, allocations: 12 kB / 368.3 MB, free: 10.29 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.1339, allocations: 8 kB / 368.3 MB, free: 10.28 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003538/0.1342, allocations: 214 kB / 368.5 MB, free: 10.07 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01386/0.1481, allocations: 5.912 MB / 374.4 MB, free: 3.66 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003591/0.1485, allocations: 182.6 kB / 374.6 MB, free: 3.473 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001558/0.1487, allocations: 88.83 kB / 374.7 MB, free: 3.383 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.165/0.3137, allocations: 3.875 MB / 378.6 MB, free: 58.08 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/0.3138, allocations: 39.97 kB / 378.6 MB, free: 58.04 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 2.785e-06/0.3138, allocations: 0 / 378.6 MB, free: 58.04 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.006702/0.3205, allocations: 1.409 MB / 380 MB, free: 57.66 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/0.3205, allocations: 58.98 kB / 380.1 MB, free: 57.59 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002953/0.3208, allocations: 260.2 kB / 380.3 MB, free: 57.49 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.426e-05/0.3209, allocations: 34.02 kB / 380.4 MB, free: 57.46 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.321, allocations: 190.1 kB / 380.5 MB, free: 57.34 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.089e-05/0.321, allocations: 92.38 kB / 380.6 MB, free: 57.28 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001125/0.3212, allocations: 62.92 kB / 380.7 MB, free: 57.26 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.82e-05/0.3212, allocations: 339.1 kB / 381 MB, free: 56.95 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/0.3214, allocations: 87.97 kB / 381.1 MB, free: 56.95 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002206/0.3216, allocations: 189.1 kB / 381.3 MB, free: 56.82 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003517/0.322, allocations: 308.4 kB / 381.6 MB, free: 56.62 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.322, allocations: 1.438 kB / 381.6 MB, free: 56.62 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000623/0.3226, allocations: 399 kB / 382 MB, free: 56.43 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.3227, allocations: 6.531 kB / 382 MB, free: 56.43 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/0.3227, allocations: 3.719 kB / 382 MB, free: 56.43 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004622/0.3273, allocations: 0.9372 MB / 382.9 MB, free: 56.37 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002842/0.3276, allocations: 70.08 kB / 383 MB, free: 56.36 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001179/0.3288, allocations: 1.877 MB / 384.9 MB, free: 54.49 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002468/0.3291, allocations: 24.42 kB / 384.9 MB, free: 54.48 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.566e-05/0.3291, allocations: 21.33 kB / 384.9 MB, free: 54.48 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 (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 {(2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001512/0.3292, allocations: 152.5 kB / 385.1 MB, free: 54.34 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.492e-05/0.3293, allocations: 29.81 kB / 385.1 MB, free: 54.32 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007074/0.33, allocations: 497.7 kB / 385.6 MB, free: 54.08 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.206e-06/0.33, allocations: 6.281 kB / 385.6 MB, free: 54.08 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.3301, allocations: 1.5 kB / 385.6 MB, free: 54.08 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005755/0.3306, allocations: 0.7152 MB / 386.3 MB, free: 53.48 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001171/0.3318, allocations: 0.9499 MB / 387.3 MB, free: 52.88 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.3318, allocations: 0.625 kB / 387.3 MB, free: 52.88 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001939/0.332, allocations: 45.5 kB / 387.3 MB, free: 52.88 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0018/0.3338, allocations: 328.3 kB / 387.6 MB, free: 52.82 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.526e-05/0.3339, allocations: 7.969 kB / 387.6 MB, free: 52.82 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003949/0.3343, allocations: 0.6388 MB / 388.3 MB, free: 52.24 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3343, allocations: 0 / 388.3 MB, free: 52.24 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008504/0.3352, allocations: 0.7289 MB / 389 MB, free: 51.82 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.534e-05/0.3352, allocations: 110.3 kB / 389.1 MB, free: 51.7 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.461e-05/0.3353, allocations: 7.078 kB / 389.1 MB, free: 51.7 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002039/0.3355, allocations: 24.61 kB / 389.1 MB, free: 51.68 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.756e-05/0.3355, allocations: 14.02 kB / 389.2 MB, free: 51.68 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.588e-05/0.3356, allocations: 18.53 kB / 389.2 MB, free: 51.68 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000168/0.3357, allocations: 181.9 kB / 389.3 MB, free: 51.57 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3357, allocations: 1.25 kB / 389.3 MB, free: 51.57 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008017/0.3366, allocations: 185.3 kB / 389.5 MB, free: 51.55 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 (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005927/0.3372, allocations: 268.4 kB / 389.8 MB, free: 51.44 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0008242/0.338, allocations: 448.5 kB / 390.2 MB, free: 51.21 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.338, allocations: 0 / 390.2 MB, free: 51.21 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004806/0.3385, allocations: 239 kB / 390.5 MB, free: 51.11 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009473/0.3395, allocations: 159.9 kB / 390.6 MB, free: 51.08 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.3406, allocations: 0.9114 MB / 391.5 MB, free: 50.5 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002157/0.3408, allocations: 0.7822 MB / 392.3 MB, free: 49.79 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002205/0.341, allocations: 50.86 kB / 392.4 MB, free: 49.78 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.757e-05/0.3411, allocations: 27.84 kB / 392.4 MB, free: 49.77 MB / 318.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3411, allocations: 0 / 392.4 MB, free: 49.77 MB / 318.1 MB Notification: Performance of Templates: time 0.0131/0.3542, allocations: 9.592 MB / 402 MB, free: 43.32 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile (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)