Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermofluidStream_dev_ThermofluidStream.Idealized.Examples.TUMExercisesThermodynamicCycles.Exercise3OttoEngine.DryAirNASA.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.001158/0.001158, allocations: 101.5 kB / 18.95 MB, free: 1.184 MB / 13.93 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.0009304/0.0009304, allocations: 213.2 kB / 22.25 MB, free: 3.586 MB / 13.93 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 0.9216/0.9216, allocations: 230.6 MB / 256 MB, free: 9.613 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo): time 0.6737/0.6737, allocations: 150.8 MB / 463.3 MB, free: 6.473 MB / 362.7 MB " [Timeout remaining time 179] Using package ThermofluidStream with version 1.3.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/package.mo) 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: "" <> buildModelFMU(ThermofluidStream.Idealized.Examples.TUMExercisesThermodynamicCycles.Exercise3OttoEngine.DryAirNASA,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Idealized_Examples_TUMExercisesThermodynamicCycles_Exercise3OttoEngine_DryAirNASA",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Idealized.Examples.TUMExercisesThermodynamicCycles.Exercise3OttoEngine.DryAirNASA,fileNamePrefix="ThermofluidStream_dev_ThermofluidStream_Idealized_Examples_TUMExercisesThermodynamicCycles_Exercise3OttoEngine_DryAirNASA",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001083/0.001083, allocations: 88.09 kB / 0.6392 GB, free: 32.57 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1469, allocations: 88.07 MB / 0.7252 GB, free: 8.336 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Examples.TUMExercisesThermodynamicCycles.Exercise3OttoEngine.DryAirNASA): time 0.5242/0.6711, allocations: 178 MB / 0.899 GB, free: 7.141 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.00552/0.6766, allocations: 6.095 MB / 0.905 GB, free: 2.891 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003479/0.677, allocations: 46.16 kB / 0.905 GB, free: 2.863 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.0007748/0.6778, allocations: 432.8 kB / 0.9054 GB, free: 2.508 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.002424/0.6802, allocations: 1.692 MB / 0.9071 GB, free: 1.207 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.0017/0.6819, allocations: 1.324 MB / 0.9084 GB, free: 216 kB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.0009703/0.6829, allocations: 1.669 MB / 0.91 GB, free: 15.21 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002198/0.6831, allocations: 157.2 kB / 0.9102 GB, free: 15.1 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006415/0.6837, allocations: 0.7329 MB / 0.9109 GB, free: 14.68 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004367/0.6842, allocations: 0.6086 MB / 0.9115 GB, free: 14.33 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 5.59e-05/0.6842, allocations: 61.47 kB / 0.9115 GB, free: 14.33 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001298/0.6855, allocations: 1.244 MB / 0.9127 GB, free: 13.77 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0001189/0.6856, allocations: 184.6 kB / 0.9129 GB, free: 13.61 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0002445/0.6859, allocations: 419.1 kB / 0.9133 GB, free: 13.38 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.001713/0.6876, allocations: 2.1 MB / 0.9154 GB, free: 12.1 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.6876, allocations: 0 / 0.9154 GB, free: 12.1 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.074e-06/0.6876, allocations: 3.938 kB / 0.9154 GB, free: 12.09 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.074e-05/0.6876, allocations: 0 / 0.9154 GB, free: 12.09 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.001522/0.6891, allocations: 1.484 MB / 0.9168 GB, free: 10.99 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.6892, allocations: 14.42 kB / 0.9168 GB, free: 10.98 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.654e-05/0.6893, allocations: 118.9 kB / 0.9169 GB, free: 10.88 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000939/0.6902, allocations: 270.5 kB / 0.9172 GB, free: 10.75 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008776/0.6911, allocations: 0.6531 MB / 0.9178 GB, free: 10.25 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.753e-05/0.6912, allocations: 167.6 kB / 0.918 GB, free: 10.1 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.536e-05/0.6913, allocations: 75.61 kB / 0.9181 GB, free: 10.07 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008716/0.6921, allocations: 0.9022 MB / 0.919 GB, free: 9.445 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.6921, allocations: 2.188 kB / 0.919 GB, free: 9.445 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.002e-05/0.6922, allocations: 29.47 kB / 0.919 GB, free: 9.422 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/0.6922, allocations: 22.84 kB / 0.919 GB, free: 9.418 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007148/0.6929, allocations: 0.5932 MB / 0.9196 GB, free: 9.145 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002489/0.6954, allocations: 2.571 MB / 0.9221 GB, free: 7.215 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007019/0.6961, allocations: 0.499 MB / 0.9226 GB, free: 6.969 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002687/0.6964, allocations: 263.5 kB / 0.9228 GB, free: 6.84 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000166/0.6965, allocations: 102.2 kB / 0.9229 GB, free: 6.793 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.6966, allocations: 41.31 kB / 0.923 GB, free: 6.746 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=58): time 1.573e-06/0.6966, allocations: 0 / 0.923 GB, free: 6.746 MB / 0.6667 GB Notification: Performance of matching and sorting (n=58): time 0.001318/0.6979, allocations: 0.9252 MB / 0.9239 GB, free: 6.312 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.656e-05/0.6979, allocations: 87.27 kB / 0.924 GB, free: 6.211 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005665/0.6985, allocations: 0.7747 MB / 0.9247 GB, free: 5.762 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.634e-05/0.6985, allocations: 31.86 kB / 0.9247 GB, free: 5.727 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002082/0.6987, allocations: 443.9 kB / 0.9252 GB, free: 5.34 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001034/0.6988, allocations: 214.1 kB / 0.9254 GB, free: 5.152 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001379/0.699, allocations: 146.8 kB / 0.9255 GB, free: 5.074 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.659e-05/0.6991, allocations: 326.9 kB / 0.9258 GB, free: 4.754 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002241/0.6993, allocations: 179.5 kB / 0.926 GB, free: 4.672 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002801/0.6996, allocations: 324.2 kB / 0.9263 GB, free: 4.43 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005139/0.7001, allocations: 0.4884 MB / 0.9268 GB, free: 4.121 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.7001, allocations: 2.5 kB / 0.9268 GB, free: 4.121 MB / 0.6667 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0007757/0.7008, allocations: 0.7188 MB / 0.9275 GB, free: 3.766 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.7009, allocations: 4.812 kB / 0.9275 GB, free: 3.766 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.7009, allocations: 2.906 kB / 0.9275 GB, free: 3.766 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006083/0.7015, allocations: 231.7 kB / 0.9277 GB, free: 3.668 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002585/0.7017, allocations: 136.2 kB / 0.9278 GB, free: 3.637 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007394/0.7025, allocations: 1.2 MB / 0.929 GB, free: 2.504 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000246/0.7027, allocations: 76.39 kB / 0.9291 GB, free: 2.449 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.694e-05/0.7028, allocations: 76.58 kB / 0.9292 GB, free: 2.438 MB / 0.6667 GB 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 (61): * Single equations (assignments): 59 * 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 {(1,5), (1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.000227/0.703, allocations: 207.7 kB / 0.9294 GB, free: 2.262 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.399e-05/0.7031, allocations: 111.1 kB / 0.9295 GB, free: 2.199 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001384/0.7045, allocations: 1.291 MB / 0.9307 GB, free: 1.496 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.7045, allocations: 5.344 kB / 0.9307 GB, free: 1.496 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.7045, allocations: 0 / 0.9307 GB, free: 1.496 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.724e-06/0.7045, allocations: 6.172 kB / 0.9307 GB, free: 1.492 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001551/0.7061, allocations: 1.395 MB / 0.9321 GB, free: 0.5664 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.7061, allocations: 6.562 kB / 0.9321 GB, free: 0.5625 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002079/0.7063, allocations: 92.61 kB / 0.9322 GB, free: 0.543 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005425/0.7068, allocations: 218.7 kB / 0.9324 GB, free: 460 kB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.134e-05/0.7069, allocations: 25.33 kB / 0.9324 GB, free: 448 kB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005787/0.7074, allocations: 1.189 MB / 0.9336 GB, free: 15.31 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.7074, allocations: 0 / 0.9336 GB, free: 15.31 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007152/0.7082, allocations: 0.7484 MB / 0.9343 GB, free: 14.85 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001843/0.7083, allocations: 151.5 kB / 0.9345 GB, free: 14.74 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.552e-05/0.7084, allocations: 15.84 kB / 0.9345 GB, free: 14.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002022/0.7086, allocations: 22.45 kB / 0.9345 GB, free: 14.71 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.21e-05/0.7087, allocations: 50.77 kB / 0.9345 GB, free: 14.69 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.425e-05/0.7087, allocations: 51.27 kB / 0.9346 GB, free: 14.68 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0004755/0.7092, allocations: 0.5327 MB / 0.9351 GB, free: 14.36 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7092, allocations: 0 / 0.9351 GB, free: 14.36 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0006951/0.7099, allocations: 365.4 kB / 0.9355 GB, free: 14.27 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 simulation (46): * Single equations (assignments): 44 * 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 {(1,5), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001631/0.7115, allocations: 1.675 MB / 0.9371 GB, free: 13.09 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0007385/0.7123, allocations: 492.5 kB / 0.9376 GB, free: 12.89 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.7123, allocations: 0 / 0.9376 GB, free: 12.89 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002888/0.7126, allocations: 258.3 kB / 0.9378 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001172/0.7137, allocations: 0.5058 MB / 0.9383 GB, free: 12.52 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006087/0.7198, allocations: 6.39 MB / 0.9445 GB, free: 6.434 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002563/0.7201, allocations: 394 kB / 0.9449 GB, free: 6.02 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0008021/0.7209, allocations: 0.4955 MB / 0.9454 GB, free: 5.523 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004041/0.7213, allocations: 407.2 kB / 0.9458 GB, free: 5.125 MB / 0.6823 GB Notification: Performance of SimCode: time 1.021e-06/0.7213, allocations: 0 / 0.9458 GB, free: 5.125 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03836/0.7596, allocations: 32.18 MB / 0.9772 GB, free: 5.41 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.807/9.566, allocations: 15.44 kB / 0.9772 GB, free: 5.398 MB / 0.7136 GB " [Timeout remaining time 650] (rm -f ThermofluidStream_dev_ThermofluidStream.Idealized.Examples.TUMExercisesThermodynamicCycles.Exercise3OttoEngine.DryAirNASA.pipe ; mkfifo ThermofluidStream_dev_ThermofluidStream.Idealized.Examples.TUMExercisesThermodynamicCycles.Exercise3OttoEngine.DryAirNASA.pipe ; head -c 1048576 < ThermofluidStream_dev_ThermofluidStream.Idealized.Examples.TUMExercisesThermodynamicCycles.Exercise3OttoEngine.DryAirNASA.pipe >> ../files/ThermofluidStream_dev_ThermofluidStream.Idealized.Examples.TUMExercisesThermodynamicCycles.Exercise3OttoEngine.DryAirNASA.sim & python3 -m fmpy simulate --output-file ThermofluidStream_dev_ThermofluidStream.Idealized.Examples.TUMExercisesThermodynamicCycles.Exercise3OttoEngine.DryAirNASA_res.csv --start-time 0 --stop-time 1 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 ThermofluidStream_dev_ThermofluidStream_Idealized_Examples_TUMExercisesThermodynamicCycles_Exercise3OttoEngine_DryAirNASA.fmu > ThermofluidStream_dev_ThermofluidStream.Idealized.Examples.TUMExercisesThermodynamicCycles.Exercise3OttoEngine.DryAirNASA.pipe 2>&1) [Timeout 1260.0] [Calling os._exit(0), Time elapsed: 12.437235350720584] Failed to read output from testmodel.py, exit status != 0: 9.669799603521824 9.678382756 8.988852139 Calling exit ...