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.0009663/0.0009663, allocations: 101.5 kB / 18.95 MB, free: 1.188 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.001117/0.001117, allocations: 216 kB / 22.25 MB, free: 3.574 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.9561/0.9561, allocations: 230.6 MB / 256 MB, free: 9.594 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.7241/0.7241, allocations: 150.8 MB / 463.3 MB, free: 6.441 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.001145/0.001145, allocations: 95.84 kB / 0.6392 GB, free: 32.61 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1313, allocations: 88.06 MB / 0.7252 GB, free: 8.355 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Examples.TUMExercisesThermodynamicCycles.Exercise3OttoEngine.DryAirNASA): time 0.4828/0.6141, allocations: 178 MB / 0.899 GB, free: 7.211 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.006814/0.6209, allocations: 6.087 MB / 0.905 GB, free: 2.977 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001117/0.622, allocations: 43.69 kB / 0.905 GB, free: 2.949 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001064/0.6231, allocations: 430.2 kB / 0.9054 GB, free: 2.598 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.004197/0.6273, allocations: 1.693 MB / 0.9071 GB, free: 1.297 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.003007/0.6303, allocations: 1.332 MB / 0.9084 GB, free: 300 kB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.00216/0.6325, allocations: 1.674 MB / 0.91 GB, free: 15.29 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003454/0.6328, allocations: 162.6 kB / 0.9102 GB, free: 15.17 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001304/0.6341, allocations: 0.7136 MB / 0.9109 GB, free: 14.77 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007821/0.6349, allocations: 0.6221 MB / 0.9115 GB, free: 14.4 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 9.548e-05/0.635, allocations: 64.69 kB / 0.9115 GB, free: 14.4 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002981/0.638, allocations: 1.238 MB / 0.9127 GB, free: 13.85 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.000211/0.6382, allocations: 192.5 kB / 0.9129 GB, free: 13.69 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.000457/0.6386, allocations: 418.9 kB / 0.9133 GB, free: 13.45 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.005294/0.6439, allocations: 2.102 MB / 0.9154 GB, free: 12.17 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.6439, allocations: 0 / 0.9154 GB, free: 12.17 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.964e-06/0.6439, allocations: 3.094 kB / 0.9154 GB, free: 12.17 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 3.273e-05/0.644, allocations: 0 / 0.9154 GB, free: 12.17 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.002388/0.6464, allocations: 1.48 MB / 0.9168 GB, free: 11.07 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.6464, allocations: 7.781 kB / 0.9168 GB, free: 11.07 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001064/0.6465, allocations: 125.1 kB / 0.9169 GB, free: 10.96 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001226/0.6477, allocations: 272.5 kB / 0.9172 GB, free: 10.82 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001026/0.6488, allocations: 0.6482 MB / 0.9178 GB, free: 10.33 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001292/0.6489, allocations: 164.7 kB / 0.918 GB, free: 10.18 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.929e-05/0.649, allocations: 79.48 kB / 0.9181 GB, free: 10.15 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009739/0.65, allocations: 0.8968 MB / 0.9189 GB, free: 9.531 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.65, allocations: 0 / 0.9189 GB, free: 9.531 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.248e-05/0.65, allocations: 31.91 kB / 0.919 GB, free: 9.508 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.227e-05/0.65, allocations: 22.66 kB / 0.919 GB, free: 9.504 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007314/0.6508, allocations: 0.5911 MB / 0.9196 GB, free: 9.23 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003185/0.654, allocations: 2.579 MB / 0.9221 GB, free: 7.293 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008045/0.6548, allocations: 0.4934 MB / 0.9226 GB, free: 7.055 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002901/0.655, allocations: 268.6 kB / 0.9228 GB, free: 6.922 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002354/0.6553, allocations: 102 kB / 0.9229 GB, free: 6.875 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.547e-05/0.6553, allocations: 45.56 kB / 0.923 GB, free: 6.828 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=58): time 2.966e-06/0.6553, allocations: 0 / 0.923 GB, free: 6.828 MB / 0.6667 GB Notification: Performance of matching and sorting (n=58): time 0.001575/0.6569, allocations: 0.9202 MB / 0.9239 GB, free: 6.402 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.238e-05/0.6569, allocations: 86.83 kB / 0.924 GB, free: 6.301 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007514/0.6577, allocations: 0.7716 MB / 0.9247 GB, free: 5.852 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 4.573e-05/0.6577, allocations: 36.7 kB / 0.9247 GB, free: 5.812 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002424/0.658, allocations: 439.2 kB / 0.9252 GB, free: 5.43 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001408/0.6581, allocations: 222.7 kB / 0.9254 GB, free: 5.234 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001518/0.6583, allocations: 146.2 kB / 0.9255 GB, free: 5.156 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0003773/0.6587, allocations: 331 kB / 0.9258 GB, free: 4.832 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002552/0.6589, allocations: 180.2 kB / 0.926 GB, free: 4.75 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003221/0.6592, allocations: 320.9 kB / 0.9263 GB, free: 4.508 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005849/0.6598, allocations: 498.5 kB / 0.9268 GB, free: 4.203 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.6598, allocations: 0 / 0.9268 GB, free: 4.203 MB / 0.6667 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0009594/0.6608, allocations: 0.7266 MB / 0.9275 GB, free: 3.84 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.498e-05/0.6608, allocations: 7.812 kB / 0.9275 GB, free: 3.84 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.6608, allocations: 2.781 kB / 0.9275 GB, free: 3.84 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000766/0.6616, allocations: 223.2 kB / 0.9277 GB, free: 3.746 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003038/0.6619, allocations: 136.2 kB / 0.9278 GB, free: 3.715 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007077/0.6626, allocations: 1.198 MB / 0.929 GB, free: 2.582 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004534/0.663, allocations: 68.56 kB / 0.9291 GB, free: 2.535 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.645e-05/0.6631, allocations: 75.72 kB / 0.9292 GB, free: 2.523 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.0003255/0.6635, allocations: 212.2 kB / 0.9294 GB, free: 2.344 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001273/0.6636, allocations: 108.5 kB / 0.9295 GB, free: 2.281 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001515/0.6651, allocations: 1.29 MB / 0.9307 GB, free: 1.578 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.6651, allocations: 4.969 kB / 0.9307 GB, free: 1.578 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.6651, allocations: 2.938 kB / 0.9307 GB, free: 1.578 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.797e-06/0.6651, allocations: 4.859 kB / 0.9307 GB, free: 1.574 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001779/0.6669, allocations: 1.388 MB / 0.9321 GB, free: 0.6562 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.6669, allocations: 0 / 0.9321 GB, free: 0.6562 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002216/0.6671, allocations: 95.84 kB / 0.9322 GB, free: 0.6328 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006269/0.6677, allocations: 225 kB / 0.9324 GB, free: 0.5352 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.554e-05/0.6678, allocations: 22.56 kB / 0.9324 GB, free: 0.5273 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006422/0.6684, allocations: 1.195 MB / 0.9336 GB, free: 15.39 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.6684, allocations: 4.625 kB / 0.9336 GB, free: 15.39 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008648/0.6693, allocations: 0.7467 MB / 0.9343 GB, free: 14.93 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002898/0.6696, allocations: 147.1 kB / 0.9345 GB, free: 14.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.936e-05/0.6697, allocations: 16.91 kB / 0.9345 GB, free: 14.81 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002355/0.6699, allocations: 20.3 kB / 0.9345 GB, free: 14.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.811e-05/0.67, allocations: 51.17 kB / 0.9345 GB, free: 14.77 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.165e-05/0.6701, allocations: 46.33 kB / 0.9346 GB, free: 14.77 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0005911/0.6706, allocations: 0.5333 MB / 0.9351 GB, free: 14.45 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.7e-07/0.6706, allocations: 2.75 kB / 0.9351 GB, free: 14.45 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001005/0.6716, allocations: 362 kB / 0.9355 GB, free: 14.36 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.002057/0.6737, allocations: 1.671 MB / 0.9371 GB, free: 13.18 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0009808/0.6747, allocations: 496.7 kB / 0.9376 GB, free: 12.98 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.6747, allocations: 4.688 kB / 0.9376 GB, free: 12.98 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003538/0.675, allocations: 257.3 kB / 0.9378 GB, free: 12.88 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001555/0.6766, allocations: 0.507 MB / 0.9383 GB, free: 12.61 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007405/0.684, allocations: 6.387 MB / 0.9445 GB, free: 6.441 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005616/0.6846, allocations: 398 kB / 0.9449 GB, free: 6.023 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00096/0.6855, allocations: 0.4956 MB / 0.9454 GB, free: 5.527 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004782/0.686, allocations: 399.3 kB / 0.9458 GB, free: 5.137 MB / 0.6823 GB Notification: Performance of SimCode: time 2.524e-06/0.686, allocations: 0 / 0.9458 GB, free: 5.137 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05415/0.7402, allocations: 32.2 MB / 0.9772 GB, free: 5.402 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.834/9.574, allocations: 7.922 kB / 0.9772 GB, free: 5.395 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ThermofluidStream_dev_ThermofluidStream.Idealized.Examples.TUMExercisesThermodynamicCycles.Exercise3OttoEngine.DryAirNASA_res.mat --tempDir=temp_ThermofluidStream_dev_ThermofluidStream_Idealized_Examples_TUMExercisesThermodynamicCycles_Exercise3OttoEngine_DryAirNASA_fmu --startTime=0 --stopTime=1 --stepSize=0.01 --timeout=1200 --tolerance=1e-06 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.435618813149631] Failed to read output from testmodel.py, exit status != 0: 9.677188980393112 9.687003443 9.040616754 Calling exit ...