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.001655/0.001655, allocations: 117.9 kB / 18.5 MB, free: 4.52 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.002019/0.002019, allocations: 214.5 kB / 21.46 MB, free: 1.566 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.469/1.469, allocations: 230.5 MB / 254.8 MB, free: 15.26 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.001981/0.001981, allocations: 71.83 kB / 373.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1079, allocations: 53.33 MB / 427 MB, free: 4.805 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.2464/0.3543, allocations: 27.23 MB / 454.2 MB, free: 7.672 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004633/0.3589, allocations: 4.188 MB / 458.4 MB, free: 7.555 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002651/0.3592, allocations: 10 kB / 458.4 MB, free: 7.551 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007582/0.3599, allocations: 206.1 kB / 458.6 MB, free: 7.551 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008184/0.3607, allocations: 340.4 kB / 459 MB, free: 7.535 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004292/0.365, allocations: 1.469 MB / 460.4 MB, free: 7.383 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001295/0.3663, allocations: 0.89 MB / 461.3 MB, free: 7.195 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000255/0.3666, allocations: 74.83 kB / 461.4 MB, free: 7.191 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006746/0.3733, allocations: 4.077 MB / 465.5 MB, free: 6.746 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004514/0.3738, allocations: 294.6 kB / 465.8 MB, free: 6.691 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.231e-05/0.3738, allocations: 31.53 kB / 465.8 MB, free: 6.691 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001667/0.3755, allocations: 0.7361 MB / 466.5 MB, free: 6.672 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000138/0.3757, allocations: 92 kB / 466.6 MB, free: 6.66 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002459/0.3759, allocations: 203 kB / 466.8 MB, free: 6.609 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001411/0.3773, allocations: 0.8472 MB / 467.7 MB, free: 6.445 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.3773, allocations: 0 / 467.7 MB, free: 6.445 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3773, allocations: 0.9062 kB / 467.7 MB, free: 6.445 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.51e-05/0.3773, allocations: 0.5625 kB / 467.7 MB, free: 6.445 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001033/0.3784, allocations: 0.6584 MB / 468.3 MB, free: 5.91 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.3784, allocations: 10 kB / 468.3 MB, free: 5.91 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.472e-05/0.3785, allocations: 65.84 kB / 468.4 MB, free: 5.852 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004787/0.3789, allocations: 59.66 kB / 468.5 MB, free: 5.832 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004058/0.3794, allocations: 288.2 kB / 468.8 MB, free: 5.578 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.3794, allocations: 24.09 kB / 468.8 MB, free: 5.566 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.694e-05/0.3794, allocations: 35.47 kB / 468.8 MB, free: 5.551 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004674/0.3799, allocations: 338.3 kB / 469.1 MB, free: 5.34 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.3799, allocations: 1.984 kB / 469.1 MB, free: 5.34 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.144e-05/0.3799, allocations: 12.5 kB / 469.2 MB, free: 5.332 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.3799, allocations: 10.06 kB / 469.2 MB, free: 5.328 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003236/0.3803, allocations: 212.2 kB / 469.4 MB, free: 5.258 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01188/0.3922, allocations: 5.914 MB / 475.3 MB, free: 1.547 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002983/0.3924, allocations: 175.4 kB / 475.5 MB, free: 1.461 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001219/0.3926, allocations: 82.22 kB / 475.5 MB, free: 1.426 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01046/0.403, allocations: 3.887 MB / 479.4 MB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.395e-05/0.4031, allocations: 36.81 kB / 479.5 MB, free: 14.93 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 2.064e-06/0.4031, allocations: 0 / 479.5 MB, free: 14.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.006668/0.4097, allocations: 1.407 MB / 480.9 MB, free: 14.07 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.259e-05/0.4098, allocations: 54.91 kB / 480.9 MB, free: 14 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000345/0.4101, allocations: 262.5 kB / 481.2 MB, free: 13.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.827e-05/0.4102, allocations: 30.8 kB / 481.2 MB, free: 13.79 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000155/0.4103, allocations: 191.8 kB / 481.4 MB, free: 13.61 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.25e-05/0.4104, allocations: 97.86 kB / 481.5 MB, free: 13.53 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.4105, allocations: 68.22 kB / 481.6 MB, free: 13.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001727/0.4107, allocations: 340.1 kB / 481.9 MB, free: 13.14 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000163/0.4109, allocations: 86.56 kB / 482 MB, free: 13.11 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002542/0.4111, allocations: 194.4 kB / 482.2 MB, free: 12.93 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004437/0.4116, allocations: 307 kB / 482.5 MB, free: 12.7 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.4116, allocations: 0 / 482.5 MB, free: 12.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007627/0.4123, allocations: 397.3 kB / 482.9 MB, free: 12.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.4124, allocations: 6.531 kB / 482.9 MB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/0.4124, allocations: 3.25 kB / 482.9 MB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004125/0.4165, allocations: 0.9281 MB / 483.8 MB, free: 12.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003153/0.4168, allocations: 78.67 kB / 483.9 MB, free: 12.06 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001878/0.4187, allocations: 1.969 MB / 485.8 MB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002863/0.419, allocations: 8.281 kB / 485.8 MB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.061e-05/0.419, allocations: 15.47 kB / 485.9 MB, free: 10.05 MB / 382.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.0002437/0.4192, allocations: 166.6 kB / 486 MB, free: 9.891 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.758e-05/0.4193, allocations: 33.67 kB / 486.1 MB, free: 9.871 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008727/0.4202, allocations: 491.5 kB / 486.5 MB, free: 9.57 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/0.4202, allocations: 3.625 kB / 486.5 MB, free: 9.57 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.4202, allocations: 0.5156 kB / 486.5 MB, free: 9.57 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007963/0.421, allocations: 0.72 MB / 487.3 MB, free: 8.938 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001522/0.4225, allocations: 0.9472 MB / 488.2 MB, free: 8.223 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.4225, allocations: 2.938 kB / 488.2 MB, free: 8.223 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001992/0.4227, allocations: 42.45 kB / 488.2 MB, free: 8.215 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001689/0.4244, allocations: 322.4 kB / 488.6 MB, free: 8.055 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.083e-05/0.4245, allocations: 6.5 kB / 488.6 MB, free: 8.051 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005697/0.425, allocations: 0.6447 MB / 489.2 MB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.425, allocations: 2.469 kB / 489.2 MB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/0.426, allocations: 0.7197 MB / 489.9 MB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001399/0.4262, allocations: 101.2 kB / 490 MB, free: 6.875 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.532e-05/0.4262, allocations: 6.344 kB / 490 MB, free: 6.871 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/0.4264, allocations: 6.5 kB / 490 MB, free: 6.867 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.886e-05/0.4264, allocations: 19.5 kB / 490.1 MB, free: 6.855 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.291e-05/0.4265, allocations: 7.125 kB / 490.1 MB, free: 6.855 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002134/0.4267, allocations: 188.8 kB / 490.3 MB, free: 6.727 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4267, allocations: 3.938 kB / 490.3 MB, free: 6.723 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008828/0.4276, allocations: 189.1 kB / 490.4 MB, free: 6.688 MB / 382.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.002051/0.4296, allocations: 1.437 MB / 491.9 MB, free: 5.621 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009807/0.4306, allocations: 441.5 kB / 492.3 MB, free: 5.352 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.4306, allocations: 0 / 492.3 MB, free: 5.352 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005983/0.4312, allocations: 228.8 kB / 492.5 MB, free: 5.238 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001082/0.4323, allocations: 173.2 kB / 492.7 MB, free: 5.152 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004898/0.4372, allocations: 3.323 MB / 496 MB, free: 2.668 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004941/0.4377, allocations: 0.7835 MB / 496.8 MB, free: 1.926 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002938/0.438, allocations: 54.67 kB / 496.9 MB, free: 1.898 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001573/0.4381, allocations: 97.53 kB / 497 MB, free: 1.82 MB / 382.1 MB Notification: Performance of SimCode: time 1.462e-06/0.4381, allocations: 0 / 497 MB, free: 1.82 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04521/0.4833, allocations: 13.5 MB / 0.4985 GB, free: 5.617 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.41/12.89, allocations: 8.5 kB / 0.4985 GB, free: 5.613 MB / 398.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.43008445110172] Failed to read output from testmodel.py, exit status != 0: ['time', 'volume.medium.T', 'volume.medium.p'] 12.992292781826109 13.00628297 12.625967358 Calling exit ...