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.001369/0.001369, allocations: 80.25 kB / 19.27 MB, free: 0.5859 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.001511/0.001511, allocations: 170 kB / 22.58 MB, free: 1.922 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.056/1.056, allocations: 177.2 MB / 202.9 MB, free: 5.676 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 0.8609/0.8609, allocations: 116 MB / 375.4 MB, free: 4.176 MB / 346.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 3.307e-06/3.307e-06, allocations: 0 / 0.5535 GB, free: 13.21 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.112e-05/2.443e-05, allocations: 4.984 kB / 0.5535 GB, free: 13.21 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Examples.TUMExercisesThermodynamicCycles.Exercise3OttoEngine.DryAirNASA): time 0.759/0.7591, allocations: 177.8 MB / 0.7272 GB, free: 1.457 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.009412/0.7685, allocations: 6.084 MB / 0.7331 GB, free: 12.64 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001025/0.7695, allocations: 45.84 kB / 0.7332 GB, free: 12.62 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.001688/0.7712, allocations: 436.7 kB / 0.7336 GB, free: 12.26 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.005403/0.7766, allocations: 1.743 MB / 0.7353 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.00405/0.7806, allocations: 1.358 MB / 0.7366 GB, free: 9.855 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.002247/0.7829, allocations: 1.728 MB / 0.7383 GB, free: 8.797 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004255/0.7833, allocations: 156.4 kB / 0.7384 GB, free: 8.699 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002038/0.7853, allocations: 0.9577 MB / 0.7394 GB, free: 8.113 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008543/0.7862, allocations: 0.5386 MB / 0.7399 GB, free: 7.836 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0001323/0.7863, allocations: 64.06 kB / 0.74 GB, free: 7.836 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00354/0.7899, allocations: 1.249 MB / 0.7412 GB, free: 7.266 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001667/0.79, allocations: 188.9 kB / 0.7414 GB, free: 7.109 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0003713/0.7904, allocations: 338.7 kB / 0.7417 GB, free: 6.957 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.003544/0.7939, allocations: 2.176 MB / 0.7438 GB, free: 5.629 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.794, allocations: 0 / 0.7438 GB, free: 5.629 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.605e-06/0.794, allocations: 0 / 0.7438 GB, free: 5.629 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.392e-05/0.794, allocations: 3.094 kB / 0.7438 GB, free: 5.629 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.002719/0.7967, allocations: 1.463 MB / 0.7452 GB, free: 4.531 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 9.672e-05/0.7968, allocations: 10.34 kB / 0.7453 GB, free: 4.531 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001266/0.7969, allocations: 123 kB / 0.7454 GB, free: 4.426 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001088/0.798, allocations: 273.7 kB / 0.7456 GB, free: 4.293 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001033/0.799, allocations: 0.7034 MB / 0.7463 GB, free: 3.781 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001465/0.7992, allocations: 164.9 kB / 0.7465 GB, free: 3.629 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/0.7993, allocations: 71.66 kB / 0.7465 GB, free: 3.605 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001252/0.8005, allocations: 0.8996 MB / 0.7474 GB, free: 2.984 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.029e-05/0.8006, allocations: 2.938 kB / 0.7474 GB, free: 2.984 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.296e-05/0.8006, allocations: 29.47 kB / 0.7475 GB, free: 2.961 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.932e-05/0.8007, allocations: 18.47 kB / 0.7475 GB, free: 2.961 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008371/0.8015, allocations: 0.5972 MB / 0.7481 GB, free: 2.684 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00347/0.805, allocations: 2.612 MB / 0.7506 GB, free: 0.7461 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000955/0.8059, allocations: 0.5026 MB / 0.7511 GB, free: 0.4961 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003549/0.8063, allocations: 259.1 kB / 0.7513 GB, free: 380 kB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002873/0.8066, allocations: 100.5 kB / 0.7514 GB, free: 340 kB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.807e-05/0.8066, allocations: 48.45 kB / 0.7515 GB, free: 288 kB / 0.5886 GB Notification: Performance of pre-optimization done (n=58): time 2.324e-06/0.8066, allocations: 0 / 0.7515 GB, free: 288 kB / 0.5886 GB Notification: Performance of matching and sorting (n=58): time 0.001728/0.8084, allocations: 0.9263 MB / 0.7524 GB, free: 15.84 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.637e-05/0.8084, allocations: 83.45 kB / 0.7525 GB, free: 15.75 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007269/0.8091, allocations: 0.7738 MB / 0.7532 GB, free: 15.3 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.078e-05/0.8092, allocations: 36.42 kB / 0.7533 GB, free: 15.26 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002728/0.8095, allocations: 443.1 kB / 0.7537 GB, free: 14.87 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001614/0.8096, allocations: 206.9 kB / 0.7539 GB, free: 14.69 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002155/0.8098, allocations: 146.1 kB / 0.754 GB, free: 14.61 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.8099, allocations: 324.8 kB / 0.7543 GB, free: 14.29 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002726/0.8102, allocations: 175.3 kB / 0.7545 GB, free: 14.21 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003453/0.8106, allocations: 329.1 kB / 0.7548 GB, free: 13.96 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000628/0.8112, allocations: 497.9 kB / 0.7553 GB, free: 13.66 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.8112, allocations: 6.656 kB / 0.7553 GB, free: 13.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001/0.8122, allocations: 0.7178 MB / 0.756 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.257e-05/0.8122, allocations: 6.25 kB / 0.756 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.735e-05/0.8123, allocations: 2.188 kB / 0.756 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008335/0.8131, allocations: 229.6 kB / 0.7562 GB, free: 13.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003231/0.8134, allocations: 142.3 kB / 0.7564 GB, free: 13.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007324/0.8141, allocations: 1.196 MB / 0.7575 GB, free: 12.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003057/0.8145, allocations: 72.39 kB / 0.7576 GB, free: 11.98 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001245/0.8146, allocations: 76.23 kB / 0.7577 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.0003382/0.8149, allocations: 206.6 kB / 0.7579 GB, free: 11.8 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001324/0.815, allocations: 107.9 kB / 0.758 GB, free: 11.74 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001575/0.8166, allocations: 1.293 MB / 0.7592 GB, free: 10.47 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.8166, allocations: 4 kB / 0.7592 GB, free: 10.47 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.8166, allocations: 4 kB / 0.7592 GB, free: 10.46 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.8166, allocations: 3.984 kB / 0.7592 GB, free: 10.46 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001924/0.8186, allocations: 1.388 MB / 0.7606 GB, free: 9.004 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.8186, allocations: 0 / 0.7606 GB, free: 9.004 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001995/0.8188, allocations: 91.89 kB / 0.7607 GB, free: 8.914 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005624/0.8193, allocations: 222.4 kB / 0.7609 GB, free: 8.691 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.962e-05/0.8194, allocations: 28.05 kB / 0.7609 GB, free: 8.664 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006741/0.8201, allocations: 1.189 MB / 0.7621 GB, free: 7.426 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.8201, allocations: 3.938 kB / 0.7621 GB, free: 7.422 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007972/0.8209, allocations: 0.7398 MB / 0.7628 GB, free: 6.652 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000208/0.8211, allocations: 159.1 kB / 0.763 GB, free: 6.496 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.223e-05/0.8212, allocations: 8 kB / 0.763 GB, free: 6.488 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001952/0.8213, allocations: 23.98 kB / 0.763 GB, free: 6.465 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.771e-05/0.8214, allocations: 52.36 kB / 0.763 GB, free: 6.414 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.952e-05/0.8215, allocations: 47.98 kB / 0.7631 GB, free: 6.367 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005519/0.822, allocations: 0.5317 MB / 0.7636 GB, free: 5.824 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8e-08/0.822, allocations: 0 / 0.7636 GB, free: 5.824 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0009212/0.823, allocations: 371.1 kB / 0.764 GB, free: 5.461 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.001854/0.8248, allocations: 1.696 MB / 0.7656 GB, free: 3.727 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0008579/0.8257, allocations: 498.1 kB / 0.7661 GB, free: 3.234 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.8257, allocations: 0 / 0.7661 GB, free: 3.234 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003134/0.826, allocations: 259.7 kB / 0.7663 GB, free: 2.984 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001423/0.8274, allocations: 0.5039 MB / 0.7668 GB, free: 2.52 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007404/0.8348, allocations: 6.398 MB / 0.7731 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003605/0.8352, allocations: 398 kB / 0.7735 GB, free: 11.45 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001235/0.8364, allocations: 0.4912 MB / 0.7739 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004538/0.8369, allocations: 400.3 kB / 0.7743 GB, free: 10.56 MB / 0.6198 GB Notification: Performance of SimCode: time 7.21e-07/0.8369, allocations: 0 / 0.7743 GB, free: 10.56 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05497/0.8918, allocations: 32.34 MB / 0.8059 GB, free: 10.76 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.35/11.24, allocations: 7.875 kB / 0.8059 GB, free: 10.75 MB / 0.6511 GB " [Timeout remaining time 649] (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: 14.662813959643245] Failed to read output from testmodel.py, exit status != 0: 11.345068252645433 11.354290545 10.558208274 Calling exit ...