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.001366/0.001366, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001646/0.001646, allocations: 213.9 kB / 24.54 MB, free: 4.02 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.478/1.478, allocations: 230.6 MB / 258.3 MB, free: 8.039 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.002048/0.002048, allocations: 64.77 kB / 378.6 MB, free: 3.176 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.264/0.2661, allocations: 53.37 MB / 431.9 MB, free: 6.926 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.03215/0.2982, allocations: 27.43 MB / 459.4 MB, free: 11.4 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005463/0.3037, allocations: 4.21 MB / 463.6 MB, free: 7.168 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002921/0.304, allocations: 7.938 kB / 463.6 MB, free: 7.16 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006988/0.3047, allocations: 202.7 kB / 463.8 MB, free: 6.961 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000837/0.3055, allocations: 338.1 kB / 464.1 MB, free: 6.629 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004488/0.31, allocations: 1.485 MB / 465.6 MB, free: 5.148 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001327/0.3113, allocations: 0.9067 MB / 466.5 MB, free: 4.238 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002069/0.3116, allocations: 76.88 kB / 466.6 MB, free: 4.168 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007169/0.3187, allocations: 4.139 MB / 470.7 MB, free: 24 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005911/0.3193, allocations: 294.8 kB / 471 MB, free: 15.73 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.782e-05/0.3194, allocations: 32 kB / 471 MB, free: 15.7 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001766/0.3212, allocations: 0.7298 MB / 471.8 MB, free: 14.97 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001687/0.3213, allocations: 95.72 kB / 471.8 MB, free: 14.88 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002881/0.3216, allocations: 195.2 kB / 472 MB, free: 14.69 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001582/0.3232, allocations: 0.857 MB / 472.9 MB, free: 13.83 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.3232, allocations: 0 / 472.9 MB, free: 13.83 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3232, allocations: 0 / 472.9 MB, free: 13.83 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.096e-05/0.3232, allocations: 0 / 472.9 MB, free: 13.83 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.001085/0.3243, allocations: 0.5828 MB / 473.5 MB, free: 13.21 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.3243, allocations: 8.031 kB / 473.5 MB, free: 13.21 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.838e-05/0.3244, allocations: 70.73 kB / 473.6 MB, free: 13.13 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004783/0.3249, allocations: 56.72 kB / 473.6 MB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004934/0.3254, allocations: 226 kB / 473.8 MB, free: 12.83 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.3254, allocations: 21.03 kB / 473.9 MB, free: 12.81 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.546e-05/0.3255, allocations: 32.38 kB / 473.9 MB, free: 12.78 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005664/0.326, allocations: 335.5 kB / 474.2 MB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.014e-05/0.3261, allocations: 4 kB / 474.2 MB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.473e-05/0.3261, allocations: 15.94 kB / 474.2 MB, free: 12.39 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.3261, allocations: 4 kB / 474.2 MB, free: 12.39 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003691/0.3265, allocations: 217.8 kB / 474.4 MB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01325/0.3397, allocations: 4.66 MB / 479.1 MB, free: 7.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003717/0.3401, allocations: 175.9 kB / 479.3 MB, free: 7.141 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001475/0.3402, allocations: 80.83 kB / 479.4 MB, free: 7.059 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01036/0.3506, allocations: 2.676 MB / 482 MB, free: 4.379 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.643e-05/0.3506, allocations: 34.56 kB / 482.1 MB, free: 4.336 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.903e-06/0.3506, allocations: 0 / 482.1 MB, free: 4.336 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.006564/0.3572, allocations: 1.27 MB / 483.3 MB, free: 3.027 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.06e-05/0.3573, allocations: 59.34 kB / 483.4 MB, free: 2.957 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003302/0.3576, allocations: 261.9 kB / 483.7 MB, free: 2.691 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.166e-05/0.3576, allocations: 25.7 kB / 483.7 MB, free: 2.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001489/0.3578, allocations: 204.3 kB / 483.9 MB, free: 2.453 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.054e-05/0.3579, allocations: 99.16 kB / 484 MB, free: 2.355 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.358, allocations: 65.66 kB / 484 MB, free: 2.285 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.3581, allocations: 334.8 kB / 484.4 MB, free: 1.949 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001704/0.3583, allocations: 91.95 kB / 484.5 MB, free: 1.859 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000278/0.3586, allocations: 186.9 kB / 484.6 MB, free: 1.637 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004566/0.359, allocations: 303.7 kB / 484.9 MB, free: 1.301 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.359, allocations: 0 / 484.9 MB, free: 1.301 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007671/0.3598, allocations: 394.8 kB / 485.3 MB, free: 0.9023 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/0.3598, allocations: 4 kB / 485.3 MB, free: 0.8984 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.3598, allocations: 4 kB / 485.3 MB, free: 0.8945 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004301/0.3641, allocations: 0.9336 MB / 486.3 MB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003017/0.3644, allocations: 71.78 kB / 486.3 MB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001854/0.3663, allocations: 1.874 MB / 488.2 MB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002376/0.3665, allocations: 8 kB / 488.2 MB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.415e-05/0.3666, allocations: 16 kB / 488.2 MB, free: 13.86 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.0002265/0.3668, allocations: 161.8 kB / 488.4 MB, free: 13.69 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.443e-05/0.3669, allocations: 31.81 kB / 488.4 MB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008078/0.3677, allocations: 0.4908 MB / 488.9 MB, free: 13.15 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/0.3677, allocations: 4 kB / 488.9 MB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.3677, allocations: 0 / 488.9 MB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007443/0.3684, allocations: 0.7316 MB / 489.6 MB, free: 12.32 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001401/0.3698, allocations: 0.9255 MB / 490.6 MB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.3698, allocations: 0 / 490.6 MB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000207/0.37, allocations: 43.92 kB / 490.6 MB, free: 11.3 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001809/0.3718, allocations: 320.5 kB / 490.9 MB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.67e-05/0.3719, allocations: 12 kB / 490.9 MB, free: 10.97 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005877/0.3725, allocations: 0.6499 MB / 491.6 MB, free: 10.3 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/0.3725, allocations: 3.984 kB / 491.6 MB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/0.3736, allocations: 0.7408 MB / 492.3 MB, free: 9.527 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.195e-05/0.3736, allocations: 35.67 kB / 492.4 MB, free: 9.492 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.428e-05/0.3737, allocations: 4 kB / 492.4 MB, free: 9.488 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001808/0.3739, allocations: 8 kB / 492.4 MB, free: 9.48 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.999e-05/0.3739, allocations: 19.97 kB / 492.4 MB, free: 9.461 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-05/0.3739, allocations: 7.984 kB / 492.4 MB, free: 9.453 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002484/0.3742, allocations: 185.2 kB / 492.6 MB, free: 9.273 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3742, allocations: 0 / 492.6 MB, free: 9.273 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006972/0.3749, allocations: 183.7 kB / 492.8 MB, free: 9.094 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.001945/0.3768, allocations: 1.453 MB / 494.2 MB, free: 7.605 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009519/0.3778, allocations: 442.5 kB / 494.7 MB, free: 7.16 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.3778, allocations: 3.938 kB / 494.7 MB, free: 7.156 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006089/0.3784, allocations: 232.2 kB / 494.9 MB, free: 6.93 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009937/0.3794, allocations: 160.2 kB / 495 MB, free: 6.773 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004961/0.3844, allocations: 3.338 MB / 498.4 MB, free: 3.273 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004294/0.3848, allocations: 0.7799 MB / 499.2 MB, free: 2.469 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002557/0.385, allocations: 50.94 kB / 499.2 MB, free: 2.414 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001609/0.3852, allocations: 103.4 kB / 499.3 MB, free: 2.312 MB / 398.1 MB Notification: Performance of SimCode: time 8.52e-07/0.3852, allocations: 0 / 499.3 MB, free: 2.312 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04722/0.4324, allocations: 13.81 MB / 0.5011 GB, free: 4.66 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.9/13.33, allocations: 7.812 kB / 0.5011 GB, free: 4.656 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 & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Media.Examples.ReferenceAir.DryAir1_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 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.814867021981627] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.T', 'volume.medium.p'] 13.431323308963329 13.455495742 13.12712624 Calling exit ...