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.001188/0.001188, allocations: 81.67 kB / 19.27 MB, free: 0.6055 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.0009131/0.0009131, allocations: 166.3 kB / 22.57 MB, free: 1.949 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.115/1.115, allocations: 177.1 MB / 202.9 MB, free: 5.723 MB / 186.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 1.034/1.034, allocations: 116 MB / 375.4 MB, free: 4.152 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.966e-06/2.966e-06, allocations: 3.938 kB / 0.5535 GB, free: 13.19 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.761e-05/4.058e-05, allocations: 9.344 kB / 0.5535 GB, free: 13.18 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Examples.TUMExercisesThermodynamicCycles.Exercise3OttoEngine.DryAirNASA): time 0.8182/0.8182, allocations: 177.8 MB / 0.7272 GB, free: 1.445 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.01179/0.83, allocations: 6.077 MB / 0.7331 GB, free: 12.64 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002692/0.8327, allocations: 45.84 kB / 0.7331 GB, free: 12.62 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.002007/0.8347, allocations: 444.7 kB / 0.7336 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.008486/0.8432, allocations: 1.743 MB / 0.7353 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.006146/0.8493, allocations: 1.359 MB / 0.7366 GB, free: 9.848 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.004282/0.8536, allocations: 1.728 MB / 0.7383 GB, free: 8.789 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006824/0.8543, allocations: 157 kB / 0.7384 GB, free: 8.688 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003313/0.8576, allocations: 0.953 MB / 0.7394 GB, free: 8.109 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001362/0.859, allocations: 0.5386 MB / 0.7399 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0002444/0.8592, allocations: 63.84 kB / 0.7399 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005097/0.8643, allocations: 1.253 MB / 0.7412 GB, free: 7.258 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0002673/0.8646, allocations: 184.6 kB / 0.7413 GB, free: 7.105 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0008558/0.8654, allocations: 335.6 kB / 0.7417 GB, free: 6.953 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.008/0.8734, allocations: 2.179 MB / 0.7438 GB, free: 5.625 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.232e-05/0.8735, allocations: 0 / 0.7438 GB, free: 5.625 MB / 0.5886 GB Notification: Performance of FrontEnd: time 4.438e-06/0.8735, allocations: 2.188 kB / 0.7438 GB, free: 5.625 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.521e-05/0.8735, allocations: 4 kB / 0.7438 GB, free: 5.621 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.004656/0.8782, allocations: 1.464 MB / 0.7452 GB, free: 4.523 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001037/0.8783, allocations: 10.34 kB / 0.7452 GB, free: 4.523 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001654/0.8784, allocations: 119.1 kB / 0.7454 GB, free: 4.422 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001559/0.88, allocations: 277.7 kB / 0.7456 GB, free: 4.285 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001555/0.8815, allocations: 0.6911 MB / 0.7463 GB, free: 3.785 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002174/0.8818, allocations: 170.9 kB / 0.7465 GB, free: 3.629 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001264/0.8819, allocations: 76.45 kB / 0.7465 GB, free: 3.602 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001761/0.8837, allocations: 0.9037 MB / 0.7474 GB, free: 2.977 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.305e-05/0.8837, allocations: 0 / 0.7474 GB, free: 2.977 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.198e-05/0.8837, allocations: 31.59 kB / 0.7474 GB, free: 2.953 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.568e-05/0.8838, allocations: 19.22 kB / 0.7475 GB, free: 2.953 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001057/0.8848, allocations: 0.5902 MB / 0.748 GB, free: 2.68 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004845/0.8897, allocations: 2.623 MB / 0.7506 GB, free: 0.7344 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00117/0.8908, allocations: 0.4961 MB / 0.7511 GB, free: 0.4922 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003723/0.8912, allocations: 260.2 kB / 0.7513 GB, free: 376 kB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004633/0.8917, allocations: 97.42 kB / 0.7514 GB, free: 336 kB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.855e-05/0.8918, allocations: 42.44 kB / 0.7515 GB, free: 288 kB / 0.5886 GB Notification: Performance of pre-optimization done (n=58): time 5.23e-06/0.8918, allocations: 0 / 0.7515 GB, free: 288 kB / 0.5886 GB Notification: Performance of matching and sorting (n=58): time 0.002277/0.894, allocations: 0.9264 MB / 0.7524 GB, free: 15.84 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001236/0.8942, allocations: 86.14 kB / 0.7525 GB, free: 15.75 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001022/0.8952, allocations: 0.7673 MB / 0.7532 GB, free: 15.3 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.636e-05/0.8952, allocations: 36.42 kB / 0.7532 GB, free: 15.26 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003285/0.8956, allocations: 458.5 kB / 0.7537 GB, free: 14.86 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002622/0.8958, allocations: 199.4 kB / 0.7539 GB, free: 14.69 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003064/0.8961, allocations: 146.2 kB / 0.754 GB, free: 14.61 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0002016/0.8963, allocations: 331 kB / 0.7543 GB, free: 14.29 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002655/0.8966, allocations: 179.8 kB / 0.7545 GB, free: 14.2 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004322/0.897, allocations: 318 kB / 0.7548 GB, free: 13.96 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000758/0.8978, allocations: 0.49 MB / 0.7553 GB, free: 13.66 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.203e-06/0.8978, allocations: 0 / 0.7553 GB, free: 13.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001309/0.8991, allocations: 0.7216 MB / 0.756 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.776e-05/0.8991, allocations: 8.25 kB / 0.756 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/0.8992, allocations: 2.188 kB / 0.756 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001159/0.9003, allocations: 229.7 kB / 0.7562 GB, free: 13.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000362/0.9007, allocations: 142.1 kB / 0.7563 GB, free: 13.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001236/0.9019, allocations: 1.194 MB / 0.7575 GB, free: 12.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007922/0.9027, allocations: 77.05 kB / 0.7576 GB, free: 11.98 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001066/0.9028, allocations: 69.7 kB / 0.7576 GB, free: 11.97 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.0004492/0.9033, allocations: 209.5 kB / 0.7578 GB, free: 11.79 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001928/0.9035, allocations: 104.3 kB / 0.7579 GB, free: 11.73 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00199/0.9054, allocations: 1.301 MB / 0.7592 GB, free: 10.49 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.237e-05/0.9055, allocations: 8 kB / 0.7592 GB, free: 10.48 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.9055, allocations: 0 / 0.7592 GB, free: 10.48 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/0.9055, allocations: 4.875 kB / 0.7592 GB, free: 10.48 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002537/0.908, allocations: 1.377 MB / 0.7606 GB, free: 9.035 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.798e-06/0.908, allocations: 0 / 0.7606 GB, free: 9.035 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003285/0.9084, allocations: 95.89 kB / 0.7607 GB, free: 8.941 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00105/0.9094, allocations: 222.6 kB / 0.7609 GB, free: 8.719 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.885e-05/0.9095, allocations: 20 kB / 0.7609 GB, free: 8.699 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009377/0.9104, allocations: 1.194 MB / 0.7621 GB, free: 7.457 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.008e-05/0.9104, allocations: 12.14 kB / 0.7621 GB, free: 7.445 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/0.9115, allocations: 0.7397 MB / 0.7628 GB, free: 6.676 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004828/0.912, allocations: 151.1 kB / 0.7629 GB, free: 6.527 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.91e-05/0.9121, allocations: 12 kB / 0.763 GB, free: 6.516 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002332/0.9123, allocations: 23.98 kB / 0.763 GB, free: 6.492 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/0.9124, allocations: 52.3 kB / 0.763 GB, free: 6.441 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.885e-05/0.9125, allocations: 48 kB / 0.7631 GB, free: 6.395 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000776/0.9133, allocations: 0.5395 MB / 0.7636 GB, free: 5.844 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6e-08/0.9133, allocations: 0 / 0.7636 GB, free: 5.844 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001618/0.9149, allocations: 363.1 kB / 0.7639 GB, free: 5.488 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.002572/0.9175, allocations: 1.695 MB / 0.7656 GB, free: 3.754 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001249/0.9187, allocations: 0.4906 MB / 0.7661 GB, free: 3.258 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 8.176e-06/0.9187, allocations: 0 / 0.7661 GB, free: 3.258 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003738/0.9191, allocations: 246.8 kB / 0.7663 GB, free: 3.02 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001849/0.921, allocations: 0.505 MB / 0.7668 GB, free: 2.547 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0109/0.9318, allocations: 6.393 MB / 0.7731 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003908/0.9322, allocations: 398 kB / 0.7734 GB, free: 11.48 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001513/0.9338, allocations: 0.504 MB / 0.7739 GB, free: 10.97 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007358/0.9345, allocations: 400.3 kB / 0.7743 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of SimCode: time 3.717e-06/0.9345, allocations: 0 / 0.7743 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09053/1.025, allocations: 32.32 MB / 0.8059 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.56/11.59, allocations: 11.92 kB / 0.8059 GB, free: 10.78 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: 15.58311359025538] Failed to read output from testmodel.py, exit status != 0: 11.699605628848076 11.710882489 10.835003642 Calling exit ...