Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 105 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.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.8441/0.8441, allocations: 134 MB / 436.6 MB, free: 13.58 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 67.89 kB / 0.6051 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4756/0.4775, allocations: 84.68 MB / 0.6878 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.183/0.6605, allocations: 148.3 MB / 0.8326 GB, free: 1.816 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0001861/0.6607, allocations: 59.78 kB / 0.8326 GB, free: 1.758 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.448e-05/0.6608, allocations: 0 / 0.8326 GB, free: 1.758 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0001267/0.6609, allocations: 4 kB / 0.8327 GB, free: 1.754 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 8.663e-05/0.661, allocations: 7.922 kB / 0.8327 GB, free: 1.746 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005558/0.6615, allocations: 114.3 kB / 0.8328 GB, free: 1.637 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001079/0.6616, allocations: 35.91 kB / 0.8328 GB, free: 1.602 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 4.048e-05/0.6617, allocations: 3.938 kB / 0.8328 GB, free: 1.598 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 4.934e-05/0.6617, allocations: 11.94 kB / 0.8328 GB, free: 1.586 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 8.83e-05/0.6618, allocations: 23.91 kB / 0.8328 GB, free: 1.562 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.306e-05/0.6618, allocations: 0 / 0.8328 GB, free: 1.562 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003143/0.6621, allocations: 91.7 kB / 0.8329 GB, free: 1.473 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 5.323e-05/0.6622, allocations: 7.984 kB / 0.8329 GB, free: 1.465 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 3.127e-05/0.6622, allocations: 11.94 kB / 0.8329 GB, free: 1.453 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.000189/0.6624, allocations: 74.7 kB / 0.833 GB, free: 1.383 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.6624, allocations: 0 / 0.833 GB, free: 1.383 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.232e-06/0.6624, allocations: 0 / 0.833 GB, free: 1.383 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.6624, allocations: 0 / 0.833 GB, free: 1.383 MB / 0.6387 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.0005248/0.6629, allocations: 339.9 kB / 0.8333 GB, free: 1.004 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.663, allocations: 12.03 kB / 0.8334 GB, free: 0.9922 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.018e-05/0.663, allocations: 30.75 kB / 0.8334 GB, free: 0.9531 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002425/0.6633, allocations: 20.92 kB / 0.8334 GB, free: 0.9336 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001575/0.6634, allocations: 172.1 kB / 0.8336 GB, free: 0.7266 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.47e-05/0.6635, allocations: 29.7 kB / 0.8336 GB, free: 0.6914 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.35e-05/0.6635, allocations: 0 / 0.8336 GB, free: 0.6914 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.6637, allocations: 53.61 kB / 0.8336 GB, free: 0.6328 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.886e-06/0.6637, allocations: 0 / 0.8336 GB, free: 0.6328 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.6637, allocations: 0 / 0.8336 GB, free: 0.6328 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.878e-05/0.6637, allocations: 3.984 kB / 0.8337 GB, free: 0.6289 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.718e-05/0.6638, allocations: 19.98 kB / 0.8337 GB, free: 0.6094 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004628/0.6642, allocations: 268.8 kB / 0.8339 GB, free: 304 kB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 5.03e-05/0.6643, allocations: 18.52 kB / 0.8339 GB, free: 276 kB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.938e-05/0.6643, allocations: 8.922 kB / 0.834 GB, free: 264 kB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 9.658e-06/0.6643, allocations: 0 / 0.834 GB, free: 264 kB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.6643, allocations: 34.56 kB / 0.834 GB, free: 220 kB / 0.6387 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.6643, allocations: 0 / 0.834 GB, free: 220 kB / 0.6387 GB Notification: Performance of matching and sorting (n=1): time 0.0001489/0.6645, allocations: 33.7 kB / 0.834 GB, free: 180 kB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/0.6645, allocations: 59.34 kB / 0.8341 GB, free: 108 kB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.6647, allocations: 109.9 kB / 0.8342 GB, free: 15.98 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.6647, allocations: 25.7 kB / 0.8342 GB, free: 15.95 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.798e-05/0.6647, allocations: 88.08 kB / 0.8343 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 7.665e-06/0.6647, allocations: 7.891 kB / 0.8343 GB, free: 15.86 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.907e-05/0.6648, allocations: 21.84 kB / 0.8343 GB, free: 15.83 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.6649, allocations: 314.8 kB / 0.8346 GB, free: 15.51 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.418e-05/0.6649, allocations: 0 / 0.8346 GB, free: 15.51 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.821e-05/0.665, allocations: 30.56 kB / 0.8346 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.701e-05/0.665, allocations: 26.58 kB / 0.8347 GB, free: 15.44 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.665, allocations: 4 kB / 0.8347 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.221e-05/0.6651, allocations: 61.5 kB / 0.8347 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.6651, allocations: 4 kB / 0.8347 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.6651, allocations: 0 / 0.8347 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.6652, allocations: 7.938 kB / 0.8347 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.343e-05/0.6652, allocations: 7.938 kB / 0.8348 GB, free: 15.35 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.6652, allocations: 3.984 kB / 0.8348 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.463e-05/0.6653, allocations: 7.953 kB / 0.8348 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/0.6653, allocations: 96 / 0.8348 GB, free: 15.34 MB / 0.6544 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 8.454e-05/0.6654, allocations: 121.8 kB / 0.8349 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.548e-05/0.6654, allocations: 0 / 0.8349 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.018e-05/0.6654, allocations: 3.125 kB / 0.8349 GB, free: 15.2 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/0.6654, allocations: 7.938 kB / 0.8349 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.6654, allocations: 0 / 0.8349 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.6654, allocations: 0 / 0.8349 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002974/0.6657, allocations: 350.7 kB / 0.8352 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.6657, allocations: 4.031 kB / 0.8352 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.584e-05/0.6657, allocations: 3.938 kB / 0.8352 GB, free: 14.78 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.165e-06/0.6657, allocations: 0 / 0.8352 GB, free: 14.78 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.039e-06/0.6657, allocations: 0 / 0.8352 GB, free: 14.78 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.6657, allocations: 4 kB / 0.8352 GB, free: 14.78 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.6657, allocations: 0 / 0.8352 GB, free: 14.78 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.673e-05/0.6658, allocations: 57.12 kB / 0.8353 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.348e-05/0.6659, allocations: 89 kB / 0.8354 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.6659, allocations: 4.031 kB / 0.8354 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.009e-05/0.666, allocations: 0 / 0.8354 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.595e-05/0.666, allocations: 7.938 kB / 0.8354 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.674e-06/0.666, allocations: 256 / 0.8354 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 5.411e-05/0.666, allocations: 91.27 kB / 0.8355 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of sort global known variables: time 7e-08/0.666, allocations: 0 / 0.8355 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001931/0.6662, allocations: 8 kB / 0.8355 GB, free: 14.49 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.0003782/0.6666, allocations: 0.5929 MB / 0.8361 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 9.398e-05/0.6667, allocations: 15.94 kB / 0.8361 GB, free: 13.85 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.6667, allocations: 0 / 0.8361 GB, free: 13.85 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 6.592e-06/0.6667, allocations: 4 kB / 0.8361 GB, free: 13.85 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000244/0.667, allocations: 4.281 kB / 0.8361 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003895/0.6674, allocations: 148.3 kB / 0.8362 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002954/0.6676, allocations: 0.6729 MB / 0.8369 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 5.416e-05/0.6677, allocations: 12.06 kB / 0.8369 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.939e-05/0.6677, allocations: 7.438 kB / 0.8369 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of SimCode: time 3.2e-07/0.6677, allocations: 11.81 kB / 0.8369 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02465/0.6924, allocations: 1.373 MB / 0.8383 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.675/8.368, allocations: 16.05 kB / 0.8383 GB, free: 11.73 MB / 0.6544 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.694567194208503] Failed to read output from testmodel.py, exit status != 0: 8.431672183796763 8.444905191 7.779635086 Calling exit ...