Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001815/0.001815, allocations: 112.6 kB / 21.18 MB, free: 0.7422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002119/0.002119, allocations: 212.2 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.428/1.428, allocations: 230.4 MB / 258.1 MB, free: 8.145 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir2") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003015/0.003015, allocations: 63.83 kB / 378.7 MB, free: 2.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2349/0.2379, allocations: 53.33 MB / 432.1 MB, free: 7.375 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.04067/0.2786, allocations: 37.96 MB / 470 MB, free: 1.273 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005733/0.2843, allocations: 4.623 MB / 474.7 MB, free: 12.64 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002748/0.2846, allocations: 11.94 kB / 474.7 MB, free: 12.63 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007553/0.2854, allocations: 286.2 kB / 474.9 MB, free: 12.35 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009383/0.2863, allocations: 493.3 kB / 475.4 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003931/0.2902, allocations: 1.644 MB / 477.1 MB, free: 10.22 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001476/0.2917, allocations: 1.276 MB / 478.4 MB, free: 8.938 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002292/0.2919, allocations: 130.6 kB / 478.5 MB, free: 8.805 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005836/0.2925, allocations: 482.5 kB / 478.9 MB, free: 8.332 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005685/0.2931, allocations: 430.3 kB / 479.4 MB, free: 7.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.912e-05/0.2932, allocations: 48 kB / 479.4 MB, free: 7.863 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001402/0.2946, allocations: 0.7571 MB / 480.2 MB, free: 7.105 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001541/0.2947, allocations: 147.4 kB / 480.3 MB, free: 6.961 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002824/0.295, allocations: 267 kB / 480.6 MB, free: 6.699 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001299/0.2963, allocations: 1.063 MB / 481.6 MB, free: 5.633 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.2963, allocations: 3.984 kB / 481.6 MB, free: 5.629 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.2963, allocations: 4 kB / 481.6 MB, free: 5.625 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.093e-06/0.2963, allocations: 0 / 481.6 MB, free: 5.625 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.001177/0.2975, allocations: 0.7789 MB / 482.4 MB, free: 4.793 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.2975, allocations: 12.92 kB / 482.4 MB, free: 4.781 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005839/0.2981, allocations: 76.62 kB / 482.5 MB, free: 4.707 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005438/0.2987, allocations: 351.5 kB / 482.9 MB, free: 4.324 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.44e-05/0.2987, allocations: 37.31 kB / 482.9 MB, free: 4.289 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.401e-05/0.2988, allocations: 40.38 kB / 482.9 MB, free: 4.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007252/0.2995, allocations: 471.6 kB / 483.4 MB, free: 3.742 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.063e-05/0.2995, allocations: 4 kB / 483.4 MB, free: 3.738 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.919e-05/0.2995, allocations: 16 kB / 483.4 MB, free: 3.723 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.377e-05/0.2996, allocations: 12 kB / 483.4 MB, free: 3.711 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005178/0.3001, allocations: 307.7 kB / 483.7 MB, free: 3.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01418/0.3143, allocations: 6.742 MB / 490.5 MB, free: 12.08 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004644/0.3147, allocations: 269.3 kB / 490.7 MB, free: 11.81 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002255/0.3149, allocations: 139.9 kB / 490.9 MB, free: 11.68 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01121/0.3262, allocations: 3.885 MB / 494.8 MB, free: 7.492 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.3262, allocations: 39.16 kB / 494.8 MB, free: 7.445 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 1.614e-06/0.3262, allocations: 0 / 494.8 MB, free: 7.445 MB / 398.1 MB Notification: Performance of matching and sorting (n=45): time 0.01208/0.3383, allocations: 2.461 MB / 497.3 MB, free: 4.906 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/0.3383, allocations: 59.41 kB / 497.3 MB, free: 4.836 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003346/0.3386, allocations: 303.3 kB / 497.6 MB, free: 4.531 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.867e-05/0.3387, allocations: 33.7 kB / 497.6 MB, free: 4.492 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001629/0.3388, allocations: 232.5 kB / 497.9 MB, free: 4.262 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000134/0.339, allocations: 166.6 kB / 498 MB, free: 4.098 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001403/0.3391, allocations: 94.2 kB / 498.1 MB, free: 4 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.3393, allocations: 354.7 kB / 498.5 MB, free: 3.645 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002769/0.3396, allocations: 153.1 kB / 498.6 MB, free: 3.496 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000378/0.3399, allocations: 279.7 kB / 498.9 MB, free: 3.176 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006892/0.3406, allocations: 468.3 kB / 499.3 MB, free: 2.668 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3406, allocations: 4 kB / 499.4 MB, free: 2.664 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001114/0.3417, allocations: 0.5918 MB / 499.9 MB, free: 2.055 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.3418, allocations: 8.406 kB / 500 MB, free: 2.047 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.3418, allocations: 4 kB / 500 MB, free: 2.043 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008362/0.3501, allocations: 1.849 MB / 0.49 GB, free: 212 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003998/0.3505, allocations: 107.8 kB / 0.4901 GB, free: 104 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002218/0.3527, allocations: 2.564 MB / 0.4927 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002279/0.353, allocations: 20.06 kB / 0.4927 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.495e-05/0.353, allocations: 20 kB / 0.4927 GB, free: 13.31 MB / 414.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.00021/0.3532, allocations: 185.6 kB / 0.4929 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.806e-05/0.3533, allocations: 39.77 kB / 0.4929 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001264/0.3546, allocations: 0.8475 MB / 0.4937 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001114/0.3557, allocations: 0.9612 MB / 0.4947 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.3557, allocations: 0 / 0.4947 GB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.3558, allocations: 120.8 kB / 0.4948 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.278e-05/0.3559, allocations: 8 kB / 0.4948 GB, free: 11.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002371/0.3561, allocations: 8 kB / 0.4948 GB, free: 11.03 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.743e-05/0.3561, allocations: 36.33 kB / 0.4948 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001557/0.3577, allocations: 0.8512 MB / 0.4957 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001462/0.3592, allocations: 1.173 MB / 0.4968 GB, free: 8.938 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000374/0.3595, allocations: 283.6 kB / 0.4971 GB, free: 8.664 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002217/0.3598, allocations: 209.9 kB / 0.4973 GB, free: 8.457 MB / 414.1 MB Notification: Performance of Backend: time 2.51e-07/0.3598, allocations: 0 / 0.4973 GB, free: 8.457 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001735/0.3615, allocations: 0.7065 MB / 0.498 GB, free: 7.734 MB / 414.1 MB Notification: Performance of SimCode: time 0.002168/0.3637, allocations: 1.549 MB / 0.4995 GB, free: 6.141 MB / 414.1 MB Notification: Performance of Templates: time 0.02035/0.384, allocations: 12.75 MB / 0.5119 GB, free: 9.453 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.878660694230348] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.T', 'volume.medium.p', 'volume1.medium.T', 'volume1.medium.p'] 0.3941266410984099 0.418128537 0.11678534700000001 Calling exit ...