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.001173/0.001173, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001724/0.001724, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.251/1.251, allocations: 177.2 MB / 202.8 MB, free: 5.738 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.878/0.878, allocations: 116 MB / 375.2 MB, free: 4.168 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 2.405e-06/2.405e-06, allocations: 0 / 0.5533 GB, free: 13.29 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.837e-05/3.078e-05, allocations: 2.281 kB / 0.5533 GB, free: 13.29 MB / 490.7 MB Notification: Performance of NFInst.instantiate(ThermofluidStream.Idealized.Examples.TUMExercisesThermodynamicCycles.Exercise3OttoEngine.DryAirNASA): time 0.6479/0.648, allocations: 177.8 MB / 0.7269 GB, free: 1.496 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.009621/0.6576, allocations: 6.101 MB / 0.7329 GB, free: 12.67 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00154/0.6591, allocations: 45.97 kB / 0.7329 GB, free: 12.64 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.001564/0.6607, allocations: 428.5 kB / 0.7333 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.006597/0.6673, allocations: 1.75 MB / 0.7351 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.004963/0.6722, allocations: 1.355 MB / 0.7364 GB, free: 9.898 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.003308/0.6756, allocations: 1.732 MB / 0.7381 GB, free: 8.836 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006522/0.6762, allocations: 155.5 kB / 0.7382 GB, free: 8.738 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002358/0.6786, allocations: 0.9542 MB / 0.7391 GB, free: 8.156 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008846/0.6795, allocations: 0.5383 MB / 0.7397 GB, free: 7.879 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0001173/0.6796, allocations: 63.66 kB / 0.7397 GB, free: 7.879 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003948/0.6835, allocations: 1.25 MB / 0.741 GB, free: 7.309 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0002085/0.6837, allocations: 196.7 kB / 0.7411 GB, free: 7.145 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0005753/0.6843, allocations: 332.1 kB / 0.7415 GB, free: 6.996 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.005944/0.6902, allocations: 2.178 MB / 0.7436 GB, free: 5.672 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 9.137e-06/0.6903, allocations: 3.938 kB / 0.7436 GB, free: 5.668 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.517e-06/0.6903, allocations: 2.906 kB / 0.7436 GB, free: 5.668 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.325e-05/0.6903, allocations: 0 / 0.7436 GB, free: 5.668 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.003592/0.6939, allocations: 1.465 MB / 0.745 GB, free: 4.57 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 6.807e-05/0.6939, allocations: 8.281 kB / 0.745 GB, free: 4.57 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000134/0.6941, allocations: 119 kB / 0.7451 GB, free: 4.469 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001174/0.6953, allocations: 280.1 kB / 0.7454 GB, free: 4.332 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001431/0.6967, allocations: 0.6524 MB / 0.746 GB, free: 3.824 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001581/0.6968, allocations: 165 kB / 0.7462 GB, free: 3.672 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/0.6969, allocations: 74.75 kB / 0.7463 GB, free: 3.648 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00133/0.6983, allocations: 0.9037 MB / 0.7472 GB, free: 3.023 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.6983, allocations: 0 / 0.7472 GB, free: 3.023 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.68e-05/0.6983, allocations: 31.34 kB / 0.7472 GB, free: 3 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.4e-05/0.6984, allocations: 16.66 kB / 0.7472 GB, free: 3 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008414/0.6992, allocations: 0.5928 MB / 0.7478 GB, free: 2.727 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003825/0.703, allocations: 2.588 MB / 0.7503 GB, free: 0.7852 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009116/0.7039, allocations: 0.5007 MB / 0.7508 GB, free: 0.543 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003892/0.7043, allocations: 252.2 kB / 0.751 GB, free: 432 kB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002923/0.7046, allocations: 106.9 kB / 0.7511 GB, free: 384 kB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.7047, allocations: 41.31 kB / 0.7512 GB, free: 336 kB / 0.5886 GB Notification: Performance of pre-optimization done (n=58): time 3.777e-06/0.7047, allocations: 2.938 kB / 0.7512 GB, free: 336 kB / 0.5886 GB Notification: Performance of matching and sorting (n=58): time 0.001908/0.7066, allocations: 0.924 MB / 0.7521 GB, free: 15.89 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.459e-05/0.7066, allocations: 83.05 kB / 0.7522 GB, free: 15.79 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000813/0.7074, allocations: 0.7784 MB / 0.7529 GB, free: 15.34 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.385e-05/0.7075, allocations: 32.27 kB / 0.753 GB, free: 15.3 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002927/0.7078, allocations: 449 kB / 0.7534 GB, free: 14.91 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001853/0.708, allocations: 205.7 kB / 0.7536 GB, free: 14.73 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002297/0.7082, allocations: 143.9 kB / 0.7537 GB, free: 14.66 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.7083, allocations: 330 kB / 0.754 GB, free: 14.34 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002663/0.7086, allocations: 177.2 kB / 0.7542 GB, free: 14.25 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003596/0.7089, allocations: 327.3 kB / 0.7545 GB, free: 14.01 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000737/0.7097, allocations: 499.3 kB / 0.755 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.141e-06/0.7097, allocations: 2.812 kB / 0.755 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001032/0.7107, allocations: 0.7143 MB / 0.7557 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.632e-05/0.7107, allocations: 13.11 kB / 0.7557 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.7107, allocations: 5.719 kB / 0.7557 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008985/0.7116, allocations: 226.8 kB / 0.7559 GB, free: 13.24 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003259/0.712, allocations: 139.8 kB / 0.7561 GB, free: 13.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009648/0.7129, allocations: 1.194 MB / 0.7572 GB, free: 12.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004626/0.7134, allocations: 72.95 kB / 0.7573 GB, free: 12.03 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-05/0.7135, allocations: 80.05 kB / 0.7574 GB, free: 12.01 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.0006322/0.7141, allocations: 207.1 kB / 0.7576 GB, free: 11.84 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001265/0.7142, allocations: 106.7 kB / 0.7577 GB, free: 11.78 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001689/0.7159, allocations: 1.291 MB / 0.7589 GB, free: 10.59 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.617e-06/0.7159, allocations: 11.92 kB / 0.7589 GB, free: 10.58 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/0.7159, allocations: 0 / 0.7589 GB, free: 10.58 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.7159, allocations: 0 / 0.7589 GB, free: 10.58 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002225/0.7182, allocations: 1.385 MB / 0.7603 GB, free: 9.125 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.286e-05/0.7182, allocations: 4 kB / 0.7603 GB, free: 9.121 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002399/0.7184, allocations: 91.83 kB / 0.7604 GB, free: 9.031 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006989/0.7191, allocations: 218.4 kB / 0.7606 GB, free: 8.812 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.483e-05/0.7192, allocations: 28.05 kB / 0.7606 GB, free: 8.785 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007227/0.7199, allocations: 1.202 MB / 0.7618 GB, free: 7.535 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.7199, allocations: 0 / 0.7618 GB, free: 7.535 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009389/0.7208, allocations: 0.7398 MB / 0.7625 GB, free: 6.766 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004767/0.7213, allocations: 155.1 kB / 0.7627 GB, free: 6.613 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.537e-05/0.7214, allocations: 11.95 kB / 0.7627 GB, free: 6.602 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002336/0.7216, allocations: 23.98 kB / 0.7627 GB, free: 6.578 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002226/0.7218, allocations: 56.34 kB / 0.7628 GB, free: 6.523 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.502e-05/0.7219, allocations: 44 kB / 0.7628 GB, free: 6.48 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0007538/0.7227, allocations: 0.5355 MB / 0.7633 GB, free: 5.934 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.51e-07/0.7227, allocations: 0 / 0.7633 GB, free: 5.934 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001206/0.7239, allocations: 367.2 kB / 0.7637 GB, free: 5.574 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.002238/0.7261, allocations: 1.684 MB / 0.7653 GB, free: 3.848 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001145/0.7272, allocations: 0.4902 MB / 0.7658 GB, free: 3.352 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.7272, allocations: 0 / 0.7658 GB, free: 3.352 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004467/0.7277, allocations: 255.8 kB / 0.766 GB, free: 3.105 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001524/0.7292, allocations: 0.5009 MB / 0.7665 GB, free: 2.637 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009363/0.7386, allocations: 6.404 MB / 0.7728 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003355/0.7389, allocations: 394 kB / 0.7732 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001223/0.7401, 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.0006452/0.7408, allocations: 396.3 kB / 0.774 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of SimCode: time 4.729e-06/0.7408, allocations: 0 / 0.774 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08368/0.8245, allocations: 32.31 MB / 0.8056 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.506/10.33, allocations: 3.938 kB / 0.8056 GB, free: 10.88 MB / 0.6511 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: 13.798843446187675] Failed to read output from testmodel.py, exit status != 0: 10.4374173944816 10.447192086 9.75464668 Calling exit ...