Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001328/0.001328, allocations: 106.5 kB / 21.2 MB, free: 0.6406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 213.6 kB / 24.49 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.452/1.452, allocations: 230.6 MB / 258.3 MB, free: 7.73 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 47.92 kB / 379 MB, free: 2.426 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2045/0.2061, allocations: 53.37 MB / 432.3 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.03813/0.2442, allocations: 34 MB / 466.4 MB, free: 4.551 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005504/0.2497, allocations: 4.167 MB / 470.5 MB, free: 384 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001819/0.2499, allocations: 15.88 kB / 470.5 MB, free: 368 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007362/0.2506, allocations: 270.3 kB / 470.8 MB, free: 96 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008509/0.2515, allocations: 493.3 kB / 471.3 MB, free: 15.61 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003962/0.2555, allocations: 1.642 MB / 472.9 MB, free: 13.97 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001345/0.2568, allocations: 1.288 MB / 474.2 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002253/0.257, allocations: 126.9 kB / 474.3 MB, free: 12.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005909/0.2576, allocations: 494.4 kB / 474.8 MB, free: 12.06 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000542/0.2582, allocations: 434.3 kB / 475.2 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.904e-05/0.2582, allocations: 44 kB / 475.3 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001271/0.2595, allocations: 0.761 MB / 476 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001563/0.2597, allocations: 139.5 kB / 476.2 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002722/0.2599, allocations: 243.1 kB / 476.4 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001301/0.2612, allocations: 1.052 MB / 477.5 MB, free: 9.402 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.2612, allocations: 0 / 477.5 MB, free: 9.402 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2612, allocations: 3.938 kB / 477.5 MB, free: 9.398 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.2612, allocations: 0 / 477.5 MB, free: 9.398 MB / 382.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.001173/0.2624, allocations: 0.7153 MB / 478.2 MB, free: 8.648 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.2625, allocations: 8.031 kB / 478.2 MB, free: 8.641 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006064/0.2631, allocations: 80.62 kB / 478.3 MB, free: 8.562 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005303/0.2636, allocations: 277.8 kB / 478.5 MB, free: 8.266 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.175e-05/0.2636, allocations: 29.38 kB / 478.6 MB, free: 8.238 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.172e-05/0.2637, allocations: 48.31 kB / 478.6 MB, free: 8.191 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008764/0.2646, allocations: 0.6653 MB / 479.3 MB, free: 7.434 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/0.2646, allocations: 4 kB / 479.3 MB, free: 7.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.617e-05/0.2646, allocations: 16 kB / 479.3 MB, free: 7.414 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.286e-05/0.2647, allocations: 8 kB / 479.3 MB, free: 7.406 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005008/0.2652, allocations: 299.7 kB / 479.6 MB, free: 7.113 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01399/0.2791, allocations: 4.573 MB / 484.2 MB, free: 2.461 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000478/0.2796, allocations: 254.5 kB / 484.4 MB, free: 2.203 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002353/0.2799, allocations: 151.3 kB / 484.6 MB, free: 2.055 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01169/0.2915, allocations: 2.684 MB / 487.3 MB, free: 15.37 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.664e-05/0.2916, allocations: 38.56 kB / 487.3 MB, free: 15.32 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 2.154e-06/0.2916, allocations: 0 / 487.3 MB, free: 15.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=45): time 0.0129/0.3045, allocations: 2.315 MB / 489.6 MB, free: 12.96 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.473e-05/0.3045, allocations: 55.41 kB / 489.7 MB, free: 12.9 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003227/0.3049, allocations: 285.7 kB / 489.9 MB, free: 12.61 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.061e-05/0.3049, allocations: 33.7 kB / 490 MB, free: 12.57 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001646/0.3051, allocations: 228.4 kB / 490.2 MB, free: 12.34 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001379/0.3052, allocations: 174.5 kB / 490.4 MB, free: 12.17 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001543/0.3054, allocations: 94.34 kB / 490.5 MB, free: 12.07 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.3055, allocations: 342.8 kB / 490.8 MB, free: 11.73 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002753/0.3058, allocations: 157.2 kB / 491 MB, free: 11.57 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003736/0.3062, allocations: 272.7 kB / 491.2 MB, free: 11.26 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006944/0.3069, allocations: 476.3 kB / 491.7 MB, free: 10.75 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3069, allocations: 3.938 kB / 491.7 MB, free: 10.74 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001129/0.308, allocations: 0.5882 MB / 492.3 MB, free: 10.14 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.308, allocations: 4 kB / 492.3 MB, free: 10.13 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.308, allocations: 7.938 kB / 492.3 MB, free: 10.12 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009175/0.3172, allocations: 1.854 MB / 494.1 MB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004189/0.3176, allocations: 111.8 kB / 494.3 MB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002232/0.3198, allocations: 2.435 MB / 496.7 MB, free: 5.586 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002334/0.3201, allocations: 12 kB / 496.7 MB, free: 5.574 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.964e-05/0.3201, allocations: 20 kB / 496.7 MB, free: 5.555 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.0002104/0.3203, allocations: 180.3 kB / 496.9 MB, free: 5.371 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.333e-05/0.3204, allocations: 43.7 kB / 496.9 MB, free: 5.328 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001326/0.3217, allocations: 0.8724 MB / 497.8 MB, free: 4.441 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001145/0.3229, allocations: 0.9746 MB / 498.8 MB, free: 3.395 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.3229, allocations: 8.062 kB / 498.8 MB, free: 3.387 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.673e-05/0.323, allocations: 35.72 kB / 498.8 MB, free: 3.352 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.119e-05/0.323, allocations: 12 kB / 498.8 MB, free: 3.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002433/0.3233, allocations: 4 kB / 498.8 MB, free: 3.336 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.445e-05/0.3233, allocations: 32.38 kB / 498.9 MB, free: 3.305 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001654/0.325, allocations: 0.8762 MB / 499.8 MB, free: 2.41 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001504/0.3265, allocations: 1.199 MB / 0.4892 GB, free: 1.195 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003878/0.3269, allocations: 283.6 kB / 0.4895 GB, free: 0.918 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001998/0.3271, allocations: 193.2 kB / 0.4897 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of Backend: time 2.5e-07/0.3271, allocations: 3.938 kB / 0.4897 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001855/0.3289, allocations: 0.7023 MB / 0.4904 GB, free: 8 kB / 398.1 MB Notification: Performance of SimCode: time 0.002075/0.331, allocations: 1.515 MB / 0.4918 GB, free: 14.45 MB / 414.1 MB Notification: Performance of Templates: time 0.02061/0.3516, allocations: 12.86 MB / 0.5044 GB, free: 1.688 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.9688669390016] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.T', 'volume.medium.p', 'volume1.medium.T', 'volume1.medium.p'] 0.3594778190017678 0.37389694599999995 0.10956963899999994 Calling exit ...