Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.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.001233/0.001233, allocations: 113.5 kB / 19.73 MB, free: 2.242 MB / 14.72 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.001562/0.001562, allocations: 217.5 kB / 23.04 MB, free: 5.074 MB / 14.72 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.462/1.462, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8625/0.8625, allocations: 134 MB / 447.2 MB, free: 10.23 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 70.08 kB / 0.6193 GB, free: 7.211 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1567, allocations: 85.9 MB / 0.7032 GB, free: 1.391 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.5097/0.6663, allocations: 151.6 MB / 0.8513 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0001497/0.6665, allocations: 53.31 kB / 0.8513 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.377e-05/0.6665, allocations: 0 / 0.8513 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0001026/0.6666, allocations: 7.984 kB / 0.8513 GB, free: 15 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 7.391e-05/0.6667, allocations: 11.92 kB / 0.8513 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007916/0.6675, allocations: 223.2 kB / 0.8515 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 8.9e-05/0.6675, allocations: 31.84 kB / 0.8516 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 4.029e-05/0.6676, allocations: 7.984 kB / 0.8516 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 3.392e-05/0.6676, allocations: 16 kB / 0.8516 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 7.936e-05/0.6677, allocations: 19.84 kB / 0.8516 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 1.07e-05/0.6677, allocations: 4 kB / 0.8516 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004617/0.6682, allocations: 207.4 kB / 0.8518 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 4.595e-05/0.6682, allocations: 8 kB / 0.8518 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 2.964e-05/0.6682, allocations: 15.91 kB / 0.8518 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0002475/0.6685, allocations: 113.8 kB / 0.8519 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.6685, allocations: 0 / 0.8519 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.142e-06/0.6685, allocations: 0 / 0.8519 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.6685, allocations: 0 / 0.8519 GB, free: 14.36 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004093/0.6689, allocations: 270.2 kB / 0.8522 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.6689, allocations: 8.031 kB / 0.8522 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.608e-05/0.669, allocations: 4.188 kB / 0.8522 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.735e-05/0.669, allocations: 30.75 kB / 0.8522 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002981/0.6693, allocations: 28.91 kB / 0.8523 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001053/0.6694, allocations: 114.2 kB / 0.8524 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.681e-05/0.6695, allocations: 59.33 kB / 0.8524 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.969e-06/0.6695, allocations: 8 kB / 0.8524 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.6696, allocations: 45.69 kB / 0.8525 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.6696, allocations: 0 / 0.8525 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.6697, allocations: 3.984 kB / 0.8525 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.781e-05/0.6697, allocations: 5.969 kB / 0.8525 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.569e-05/0.6697, allocations: 19.98 kB / 0.8525 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003597/0.6701, allocations: 227.9 kB / 0.8527 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 6.275e-05/0.6702, allocations: 34.5 kB / 0.8528 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.447e-05/0.6702, allocations: 12.91 kB / 0.8528 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001226/0.6703, allocations: 11.98 kB / 0.8528 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.6703, allocations: 34.56 kB / 0.8528 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.6703, allocations: 0 / 0.8528 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of matching and sorting (n=2): time 0.0002497/0.6706, allocations: 49.69 kB / 0.8529 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.444e-05/0.6706, allocations: 55.34 kB / 0.8529 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.954e-05/0.6707, allocations: 105.8 kB / 0.853 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.804e-05/0.6707, allocations: 25.7 kB / 0.853 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 5.642e-05/0.6708, allocations: 92.08 kB / 0.8531 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 1.204e-05/0.6708, allocations: 7.953 kB / 0.8531 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.097e-05/0.6708, allocations: 9.719 kB / 0.8531 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.671, allocations: 323 kB / 0.8535 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.52e-05/0.671, allocations: 0 / 0.8535 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.288e-05/0.671, allocations: 26.56 kB / 0.8535 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.149e-05/0.6711, allocations: 30.52 kB / 0.8535 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.6711, allocations: 4 kB / 0.8535 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.906e-05/0.6712, allocations: 57.62 kB / 0.8536 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.6712, allocations: 5.312 kB / 0.8536 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.6712, allocations: 4 kB / 0.8536 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.6712, allocations: 3.938 kB / 0.8536 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.487e-05/0.6713, allocations: 11.92 kB / 0.8536 GB, free: 12.45 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.6713, allocations: 7.938 kB / 0.8536 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.118e-05/0.6713, allocations: 3.953 kB / 0.8536 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.018e-06/0.6713, allocations: 0 / 0.8536 GB, free: 12.44 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.266e-05/0.6714, allocations: 113.9 kB / 0.8537 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.765e-05/0.6715, allocations: 0 / 0.8537 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.692e-05/0.6715, allocations: 11.31 kB / 0.8537 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.6715, allocations: 0 / 0.8537 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.6715, allocations: 3.938 kB / 0.8537 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.844e-06/0.6715, allocations: 0 / 0.8537 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003455/0.6718, allocations: 338.6 kB / 0.8541 GB, free: 11.92 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.6718, allocations: 5.125 kB / 0.8541 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.791e-05/0.6719, allocations: 3.938 kB / 0.8541 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.6719, allocations: 4 kB / 0.8541 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.6719, allocations: 0 / 0.8541 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.6719, allocations: 0 / 0.8541 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.6719, allocations: 3.938 kB / 0.8541 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001045/0.672, allocations: 77.97 kB / 0.8541 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 9.368e-06/0.672, allocations: 3.938 kB / 0.8541 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.672, allocations: 0 / 0.8541 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.091e-05/0.6721, allocations: 7.984 kB / 0.8542 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.128e-05/0.6721, allocations: 0 / 0.8542 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.691e-06/0.6721, allocations: 4 kB / 0.8542 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 5.078e-05/0.6722, allocations: 87.22 kB / 0.8542 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of sort global known variables: time 6e-08/0.6722, allocations: 0 / 0.8542 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0002/0.6724, allocations: 4 kB / 0.8542 GB, free: 11.7 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004314/0.6728, allocations: 0.6171 MB / 0.8548 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 8.8e-05/0.6729, allocations: 16.09 kB / 0.8549 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.6729, allocations: 0 / 0.8549 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 1.405e-05/0.6729, allocations: 4 kB / 0.8549 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002506/0.6732, allocations: 10.34 kB / 0.8549 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004141/0.6736, allocations: 154.5 kB / 0.855 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003055/0.6739, allocations: 0.6767 MB / 0.8557 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 5.537e-05/0.6739, allocations: 16.58 kB / 0.8557 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.195e-05/0.674, allocations: 7.438 kB / 0.8557 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of SimCode: time 4.41e-07/0.674, allocations: 3.938 kB / 0.8557 GB, free: 10.1 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02338/0.6974, allocations: 1.599 MB / 0.8573 GB, free: 8.66 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.75, allocations: 10.56 kB / 0.8573 GB, free: 8.652 MB / 0.6231 GB " [Timeout remaining time 648] (rm -f IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_AirTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_AirTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.395176638965495] Failed to read output from testmodel.py, exit status != 0: 11.910583883989602 11.941674704 11.267545628 Calling exit ...