Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir1.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.001302/0.001302, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001482/0.001482, allocations: 212.6 kB / 24.54 MB, free: 4.016 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.414/1.414, allocations: 230.6 MB / 258.3 MB, free: 8.062 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: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) [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.001873/0.001873, allocations: 64.77 kB / 378.5 MB, free: 3.168 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2733/0.2751, allocations: 53.37 MB / 431.9 MB, free: 6.902 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.03171/0.3069, allocations: 27.43 MB / 459.3 MB, free: 11.37 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006102/0.313, allocations: 4.21 MB / 463.6 MB, free: 7.141 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002338/0.3132, allocations: 11.94 kB / 463.6 MB, free: 7.129 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007486/0.3139, allocations: 206.7 kB / 463.8 MB, free: 6.926 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009986/0.3149, allocations: 334.1 kB / 464.1 MB, free: 6.598 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004449/0.3194, allocations: 1.487 MB / 465.6 MB, free: 5.113 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001217/0.3206, allocations: 0.9028 MB / 466.5 MB, free: 4.207 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002078/0.3208, allocations: 72.89 kB / 466.6 MB, free: 4.141 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006772/0.3276, allocations: 4.143 MB / 470.7 MB, free: 15.99 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004216/0.328, allocations: 286.9 kB / 471 MB, free: 15.71 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.775e-05/0.3281, allocations: 32 kB / 471 MB, free: 15.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001482/0.3295, allocations: 0.7336 MB / 471.7 MB, free: 14.95 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001239/0.3297, allocations: 91.72 kB / 471.8 MB, free: 14.86 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002247/0.3299, allocations: 203.2 kB / 472 MB, free: 14.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001213/0.3311, allocations: 0.8492 MB / 472.9 MB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.83e-06/0.3311, allocations: 0 / 472.9 MB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3311, allocations: 0 / 472.9 MB, free: 13.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.3311, allocations: 0 / 472.9 MB, free: 13.8 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0009466/0.3321, allocations: 0.5828 MB / 473.5 MB, free: 13.19 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.3321, allocations: 8.031 kB / 473.5 MB, free: 13.18 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.729e-05/0.3322, allocations: 70.72 kB / 473.5 MB, free: 13.11 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004463/0.3326, allocations: 60.72 kB / 473.6 MB, free: 13.05 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004363/0.3331, allocations: 222 kB / 473.8 MB, free: 12.8 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.3331, allocations: 21.03 kB / 473.8 MB, free: 12.79 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.438e-05/0.3331, allocations: 32.38 kB / 473.9 MB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005432/0.3337, allocations: 339.5 kB / 474.2 MB, free: 12.39 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.3337, allocations: 4 kB / 474.2 MB, free: 12.38 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.091e-05/0.3337, allocations: 12 kB / 474.2 MB, free: 12.37 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.3337, allocations: 7.938 kB / 474.2 MB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000349/0.3341, allocations: 217.7 kB / 474.4 MB, free: 12.15 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01287/0.3469, allocations: 4.66 MB / 479.1 MB, free: 7.293 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003358/0.3473, allocations: 170.6 kB / 479.3 MB, free: 7.117 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001467/0.3474, allocations: 88.77 kB / 479.4 MB, free: 7.027 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009968/0.3574, allocations: 2.68 MB / 482 MB, free: 4.344 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.239e-05/0.3574, allocations: 34.56 kB / 482.1 MB, free: 4.301 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 2.395e-06/0.3574, allocations: 0 / 482.1 MB, free: 4.301 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.006244/0.3637, allocations: 1.272 MB / 483.3 MB, free: 2.992 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.207e-05/0.3637, allocations: 55.41 kB / 483.4 MB, free: 2.926 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003117/0.364, allocations: 257.9 kB / 483.6 MB, free: 2.664 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.969e-05/0.3641, allocations: 29.7 kB / 483.7 MB, free: 2.629 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001474/0.3642, allocations: 192.4 kB / 483.9 MB, free: 2.434 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.789e-05/0.3643, allocations: 95.17 kB / 484 MB, free: 2.34 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001116/0.3644, allocations: 73.64 kB / 484 MB, free: 2.262 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.3646, allocations: 338.8 kB / 484.4 MB, free: 1.922 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001711/0.3647, allocations: 87.97 kB / 484.4 MB, free: 1.836 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002517/0.365, allocations: 194.9 kB / 484.6 MB, free: 1.605 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004403/0.3654, allocations: 303.7 kB / 484.9 MB, free: 1.27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3654, allocations: 0 / 484.9 MB, free: 1.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007191/0.3661, allocations: 390.8 kB / 485.3 MB, free: 0.875 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.3662, allocations: 6.812 kB / 485.3 MB, free: 0.8711 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.3662, allocations: 4 kB / 485.3 MB, free: 0.8672 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004063/0.3702, allocations: 0.9393 MB / 486.3 MB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002706/0.3705, allocations: 71.84 kB / 486.3 MB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001794/0.3723, allocations: 1.874 MB / 488.2 MB, free: 13.85 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001856/0.3725, allocations: 8 kB / 488.2 MB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.49e-05/0.3725, allocations: 16 kB / 488.2 MB, free: 13.83 MB / 398.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.0001818/0.3727, allocations: 153.7 kB / 488.4 MB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001478/0.3728, allocations: 39.88 kB / 488.4 MB, free: 13.63 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007692/0.3736, allocations: 498.6 kB / 488.9 MB, free: 13.12 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/0.3736, allocations: 7.984 kB / 488.9 MB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.3736, allocations: 0 / 488.9 MB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007497/0.3744, allocations: 0.7316 MB / 489.6 MB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001398/0.3758, allocations: 0.9216 MB / 490.6 MB, free: 11.32 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.3758, allocations: 3.938 kB / 490.6 MB, free: 11.31 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001866/0.376, allocations: 43.97 kB / 490.6 MB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001705/0.3777, allocations: 320.4 kB / 490.9 MB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.824e-05/0.3777, allocations: 11.98 kB / 490.9 MB, free: 10.94 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005531/0.3782, allocations: 0.6461 MB / 491.6 MB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3782, allocations: 0 / 491.6 MB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.3793, allocations: 0.7407 MB / 492.3 MB, free: 9.504 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.329e-05/0.3793, allocations: 27.88 kB / 492.4 MB, free: 9.477 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.143e-05/0.3794, allocations: 15.98 kB / 492.4 MB, free: 9.461 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001699/0.3795, allocations: 8 kB / 492.4 MB, free: 9.453 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.14e-05/0.3796, allocations: 15.97 kB / 492.4 MB, free: 9.438 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.088e-05/0.3796, allocations: 8 kB / 492.4 MB, free: 9.43 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002003/0.3798, allocations: 189.2 kB / 492.6 MB, free: 9.246 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3798, allocations: 3.938 kB / 492.6 MB, free: 9.242 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006356/0.3804, allocations: 183.7 kB / 492.8 MB, free: 9.062 MB / 398.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.001813/0.3822, allocations: 1.449 MB / 494.2 MB, free: 7.578 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008904/0.3831, allocations: 446.8 kB / 494.7 MB, free: 7.129 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.3831, allocations: 0 / 494.7 MB, free: 7.129 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005419/0.3837, allocations: 227.8 kB / 494.9 MB, free: 6.906 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008793/0.3846, allocations: 172.2 kB / 495 MB, free: 6.738 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004682/0.3892, allocations: 3.327 MB / 498.4 MB, free: 3.246 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004673/0.3897, allocations: 0.776 MB / 499.1 MB, free: 2.445 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002207/0.3899, allocations: 50.94 kB / 499.2 MB, free: 2.391 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000154/0.3901, allocations: 103.4 kB / 499.3 MB, free: 2.289 MB / 398.1 MB Notification: Performance of SimCode: time 1.102e-06/0.3901, allocations: 0 / 499.3 MB, free: 2.289 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04535/0.4354, allocations: 13.82 MB / 0.5011 GB, free: 4.629 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.36/12.8, allocations: 14.05 kB / 0.5011 GB, free: 4.621 MB / 414.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Media_Examples_ReferenceAir_DryAir1_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Media_Examples_ReferenceAir_DryAir1.fmu > Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.087052437011153] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.T', 'volume.medium.p'] 12.901905646082014 12.925542673 12.589680541 Calling exit ...