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.001498/0.001498, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001798/0.001798, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 1.377/1.377, allocations: 177.1 MB / 202.8 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 178] 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 1.064/1.064, allocations: 116 MB / 375.2 MB, free: 4.168 MB / 346.7 MB " [Timeout remaining time 178] 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 2.504e-06/2.504e-06, allocations: 0 / 0.5533 GB, free: 13.27 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.241e-05/3.492e-05, allocations: 2.281 kB / 0.5533 GB, free: 13.26 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Examples.TUMExercisesThermodynamicCycles.Exercise3OttoEngine.DryAirNASA): time 0.8943/0.8943, allocations: 177.8 MB / 0.7269 GB, free: 1.473 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.0119/0.9062, allocations: 6.085 MB / 0.7329 GB, free: 12.66 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00281/0.9091, allocations: 50.06 kB / 0.7329 GB, free: 12.63 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.002089/0.9111, allocations: 432.5 kB / 0.7333 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.00864/0.9198, allocations: 1.754 MB / 0.735 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.005755/0.9255, allocations: 1.348 MB / 0.7364 GB, free: 9.887 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.004339/0.9299, allocations: 1.736 MB / 0.7381 GB, free: 8.82 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006276/0.9305, allocations: 153.4 kB / 0.7382 GB, free: 8.723 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002753/0.9333, allocations: 0.9604 MB / 0.7391 GB, free: 8.137 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009165/0.9342, allocations: 0.5362 MB / 0.7397 GB, free: 7.859 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0001101/0.9343, allocations: 64.09 kB / 0.7397 GB, free: 7.859 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004972/0.9393, allocations: 1.257 MB / 0.741 GB, free: 7.281 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0002854/0.9395, allocations: 188.2 kB / 0.7411 GB, free: 7.125 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0005235/0.9401, allocations: 334.8 kB / 0.7415 GB, free: 6.977 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.007619/0.9477, allocations: 2.172 MB / 0.7436 GB, free: 5.656 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.055e-05/0.9477, allocations: 0 / 0.7436 GB, free: 5.656 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.495e-06/0.9477, allocations: 3.938 kB / 0.7436 GB, free: 5.652 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.079e-05/0.9477, allocations: 2.219 kB / 0.7436 GB, free: 5.652 MB / 0.5886 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.003924/0.9517, allocations: 1.463 MB / 0.745 GB, free: 4.555 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 0.000117/0.9518, allocations: 10.88 kB / 0.745 GB, free: 4.555 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001888/0.952, allocations: 122.1 kB / 0.7451 GB, free: 4.449 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001445/0.9534, allocations: 276.3 kB / 0.7454 GB, free: 4.316 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001458/0.9549, allocations: 0.6528 MB / 0.746 GB, free: 3.809 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001921/0.9551, allocations: 173.3 kB / 0.7462 GB, free: 3.648 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001553/0.9552, allocations: 72.41 kB / 0.7463 GB, free: 3.625 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001393/0.9566, allocations: 0.8957 MB / 0.7471 GB, free: 3.008 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.868e-05/0.9566, allocations: 2.906 kB / 0.7471 GB, free: 3.008 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001084/0.9567, allocations: 29.19 kB / 0.7472 GB, free: 2.984 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.6e-05/0.9568, allocations: 22.17 kB / 0.7472 GB, free: 2.98 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00101/0.9578, allocations: 0.6031 MB / 0.7478 GB, free: 2.699 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004186/0.962, allocations: 2.583 MB / 0.7503 GB, free: 0.7656 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001092/0.9631, allocations: 0.5017 MB / 0.7508 GB, free: 0.5195 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003533/0.9634, allocations: 258.7 kB / 0.751 GB, free: 404 kB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003787/0.9638, allocations: 101.8 kB / 0.7511 GB, free: 360 kB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.952e-05/0.9639, allocations: 37.56 kB / 0.7512 GB, free: 316 kB / 0.5886 GB Notification: Performance of pre-optimization done (n=58): time 7.845e-06/0.9639, allocations: 0 / 0.7512 GB, free: 316 kB / 0.5886 GB Notification: Performance of matching and sorting (n=58): time 0.002113/0.966, allocations: 0.9246 MB / 0.7521 GB, free: 15.87 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001211/0.9661, allocations: 85.61 kB / 0.7522 GB, free: 15.77 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009258/0.967, allocations: 0.7754 MB / 0.7529 GB, free: 15.32 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.299e-05/0.9671, allocations: 36.61 kB / 0.753 GB, free: 15.28 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000356/0.9675, allocations: 439.1 kB / 0.7534 GB, free: 14.9 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001598/0.9676, allocations: 210.2 kB / 0.7536 GB, free: 14.71 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001946/0.9678, allocations: 142.4 kB / 0.7537 GB, free: 14.64 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001601/0.968, allocations: 326.9 kB / 0.754 GB, free: 14.32 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002983/0.9683, allocations: 184.3 kB / 0.7542 GB, free: 14.23 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003905/0.9687, allocations: 324.2 kB / 0.7545 GB, free: 13.99 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006961/0.9694, allocations: 499.5 kB / 0.755 GB, free: 13.69 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.9694, allocations: 3.938 kB / 0.755 GB, free: 13.68 MB / 0.6042 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001123/0.9705, allocations: 0.714 MB / 0.7557 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.205e-05/0.9705, allocations: 12.09 kB / 0.7557 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.402e-05/0.9706, allocations: 2.344 kB / 0.7557 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001109/0.9717, allocations: 230.8 kB / 0.7559 GB, free: 13.22 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003414/0.972, allocations: 138.7 kB / 0.756 GB, free: 13.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001171/0.9732, allocations: 1.198 MB / 0.7572 GB, free: 12.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006959/0.9739, allocations: 68.94 kB / 0.7573 GB, free: 12.01 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001175/0.974, allocations: 81.19 kB / 0.7574 GB, free: 11.99 MB / 0.6042 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.0004396/0.9744, allocations: 209.4 kB / 0.7576 GB, free: 11.82 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/0.9746, allocations: 101.4 kB / 0.7577 GB, free: 11.76 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00192/0.9765, allocations: 1.295 MB / 0.7589 GB, free: 10.57 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.739e-06/0.9765, allocations: 7.938 kB / 0.7589 GB, free: 10.57 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.739e-06/0.9765, allocations: 0 / 0.7589 GB, free: 10.57 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.9765, allocations: 3.984 kB / 0.7589 GB, free: 10.56 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002425/0.9789, allocations: 1.385 MB / 0.7603 GB, free: 9.109 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.333e-06/0.9789, allocations: 7.938 kB / 0.7603 GB, free: 9.102 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002542/0.9792, allocations: 95.88 kB / 0.7604 GB, free: 9.008 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007833/0.98, allocations: 218.5 kB / 0.7606 GB, free: 8.789 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.976e-05/0.98, allocations: 23.98 kB / 0.7606 GB, free: 8.766 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009187/0.9809, allocations: 1.194 MB / 0.7618 GB, free: 7.523 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.981, allocations: 0 / 0.7618 GB, free: 7.523 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001048/0.982, allocations: 0.7476 MB / 0.7625 GB, free: 6.746 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004225/0.9824, allocations: 151.1 kB / 0.7627 GB, free: 6.598 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.486e-05/0.9825, allocations: 11.95 kB / 0.7627 GB, free: 6.586 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002161/0.9827, allocations: 23.98 kB / 0.7627 GB, free: 6.562 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.9828, allocations: 52.36 kB / 0.7627 GB, free: 6.512 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.21e-05/0.9829, allocations: 47.98 kB / 0.7628 GB, free: 6.465 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0006395/0.9835, allocations: 0.5278 MB / 0.7633 GB, free: 5.926 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2e-07/0.9835, allocations: 0 / 0.7633 GB, free: 5.926 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001583/0.9851, allocations: 367.2 kB / 0.7637 GB, free: 5.566 MB / 0.6042 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.002465/0.9876, allocations: 1.705 MB / 0.7653 GB, free: 3.824 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001335/0.9889, allocations: 494.1 kB / 0.7658 GB, free: 3.336 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.9889, allocations: 0.75 kB / 0.7658 GB, free: 3.336 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003566/0.9893, allocations: 258.8 kB / 0.766 GB, free: 3.086 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00165/0.9909, allocations: 0.498 MB / 0.7665 GB, free: 2.621 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01016/1.001, allocations: 6.393 MB / 0.7728 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003653/1.001, allocations: 398 kB / 0.7731 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001471/1.003, allocations: 0.5036 MB / 0.7736 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005432/1.003, allocations: 396.3 kB / 0.774 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of SimCode: time 2.745e-06/1.003, allocations: 4 kB / 0.774 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07878/1.082, allocations: 32.3 MB / 0.8056 GB, free: 10.88 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.97, allocations: 3.984 kB / 0.8056 GB, free: 10.88 MB / 0.6511 GB " [Timeout remaining time 648] (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: 16.34324681852013] Failed to read output from testmodel.py, exit status != 0: 12.08620664384216 12.106073947 11.15423674 Calling exit ...