Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_4.0.0_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.001547/0.001553, allocations: 114.2 kB / 17.75 MB, free: 5.355 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.001736/0.001736, allocations: 185.4 kB / 18.68 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.372/1.372, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009229/0.0009229, allocations: 51.92 kB / 352 MB, free: 3.227 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2091/0.21, allocations: 49.43 MB / 401.4 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.03231/0.2423, allocations: 37.43 MB / 438.9 MB, free: 3.281 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004769/0.2472, allocations: 4.576 MB / 443.4 MB, free: 14.69 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001774/0.2473, allocations: 11.94 kB / 443.5 MB, free: 14.68 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006768/0.248, allocations: 290.2 kB / 443.7 MB, free: 14.39 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007151/0.2488, allocations: 493.3 kB / 444.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003619/0.2524, allocations: 1.641 MB / 445.9 MB, free: 12.27 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001087/0.2535, allocations: 1.269 MB / 447.1 MB, free: 11 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002397/0.2538, allocations: 174.4 kB / 447.3 MB, free: 10.82 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004758/0.2542, allocations: 482.4 kB / 447.8 MB, free: 10.35 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004343/0.2547, allocations: 406.4 kB / 448.2 MB, free: 9.949 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.14e-05/0.2548, allocations: 48 kB / 448.2 MB, free: 9.902 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00123/0.256, allocations: 0.7609 MB / 449 MB, free: 9.141 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001297/0.2561, allocations: 131.6 kB / 449.1 MB, free: 9.012 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002622/0.2564, allocations: 278.9 kB / 449.4 MB, free: 8.738 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001109/0.2575, allocations: 1.048 MB / 450.4 MB, free: 7.688 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.2575, allocations: 0 / 450.4 MB, free: 7.688 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2576, allocations: 0 / 450.4 MB, free: 7.688 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.104e-05/0.2576, allocations: 0 / 450.4 MB, free: 7.688 MB / 366.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.001018/0.2586, allocations: 0.7798 MB / 451.2 MB, free: 6.859 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.2586, allocations: 8.031 kB / 451.2 MB, free: 6.852 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005797/0.2592, allocations: 76.44 kB / 451.3 MB, free: 6.777 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004638/0.2597, allocations: 339.4 kB / 451.6 MB, free: 6.406 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.459e-05/0.2597, allocations: 33.38 kB / 451.6 MB, free: 6.375 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.276e-05/0.2598, allocations: 36.38 kB / 451.7 MB, free: 6.34 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000651/0.2604, allocations: 471.7 kB / 452.1 MB, free: 5.828 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.2605, allocations: 3.906 kB / 452.1 MB, free: 5.824 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.431e-05/0.2605, allocations: 20 kB / 452.2 MB, free: 5.805 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.2605, allocations: 8 kB / 452.2 MB, free: 5.797 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004556/0.261, allocations: 311.6 kB / 452.5 MB, free: 5.496 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01308/0.2741, allocations: 6.73 MB / 459.2 MB, free: 14.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000432/0.2745, allocations: 270.5 kB / 459.5 MB, free: 13.9 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002115/0.2748, allocations: 156.8 kB / 459.6 MB, free: 13.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01057/0.2853, allocations: 3.889 MB / 463.5 MB, free: 9.559 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.2854, allocations: 38.42 kB / 463.6 MB, free: 9.512 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 3.757e-06/0.2854, allocations: 0 / 463.6 MB, free: 9.512 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.01208/0.2975, allocations: 2.47 MB / 466 MB, free: 6.965 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.945e-05/0.2975, allocations: 59.34 kB / 466.1 MB, free: 6.895 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002985/0.2978, allocations: 303.2 kB / 466.4 MB, free: 6.598 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.171e-05/0.2979, allocations: 37.7 kB / 466.4 MB, free: 6.555 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/0.298, allocations: 220 kB / 466.6 MB, free: 6.332 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/0.2981, allocations: 165.6 kB / 466.8 MB, free: 6.168 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001282/0.2983, allocations: 94.25 kB / 466.9 MB, free: 6.07 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.2984, allocations: 346.8 kB / 467.2 MB, free: 5.723 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002518/0.2986, allocations: 153.1 kB / 467.4 MB, free: 5.574 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003225/0.299, allocations: 275.7 kB / 467.6 MB, free: 5.254 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006066/0.2996, allocations: 472.2 kB / 468.1 MB, free: 4.742 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.2996, allocations: 0 / 468.1 MB, free: 4.742 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00102/0.3006, allocations: 0.5877 MB / 468.7 MB, free: 4.137 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.3006, allocations: 15.88 kB / 468.7 MB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.3007, allocations: 4 kB / 468.7 MB, free: 4.117 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008162/0.3088, allocations: 1.846 MB / 470.6 MB, free: 2.285 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003837/0.3092, allocations: 111.8 kB / 470.7 MB, free: 2.176 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001849/0.3111, allocations: 2.558 MB / 473.2 MB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002343/0.3113, allocations: 12 kB / 473.2 MB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.452e-05/0.3114, allocations: 24 kB / 473.3 MB, free: 15.39 MB / 398.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.00019/0.3116, allocations: 185.7 kB / 473.4 MB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.245e-05/0.3117, allocations: 39.53 kB / 473.5 MB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001154/0.3128, allocations: 0.8512 MB / 474.3 MB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009632/0.3138, allocations: 0.9496 MB / 475.3 MB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.3138, allocations: 0 / 475.3 MB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.882e-05/0.3139, allocations: 116.5 kB / 475.4 MB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.3e-05/0.314, allocations: 23.92 kB / 475.4 MB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002425/0.3142, allocations: 12 kB / 475.4 MB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.127e-05/0.3143, allocations: 28.34 kB / 475.5 MB, free: 13.08 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001443/0.3157, allocations: 0.8472 MB / 476.3 MB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001282/0.317, allocations: 1.177 MB / 477.5 MB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003721/0.3174, allocations: 335.5 kB / 477.8 MB, free: 10.7 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001938/0.3176, allocations: 213.9 kB / 478 MB, free: 10.49 MB / 398.1 MB Notification: Performance of Backend: time 4.11e-07/0.3176, allocations: 0 / 478 MB, free: 10.49 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001694/0.3193, allocations: 0.7306 MB / 478.7 MB, free: 9.738 MB / 398.1 MB Notification: Performance of SimCode: time 0.001938/0.3213, allocations: 1.546 MB / 480.3 MB, free: 8.148 MB / 398.1 MB Notification: Performance of Templates: time 0.01838/0.3397, allocations: 12.43 MB / 492.7 MB, free: 11.79 MB / 414.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1)