Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007662/0.0007662, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.0008401/0.0008401, allocations: 209.2 kB / 22.24 MB, free: 3.57 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.9317/0.9317, 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/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7925/0.7925, allocations: 203.8 MB / 0.5042 GB, free: 10.43 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",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.0009014/0.0009014, allocations: 76.42 kB / 0.7182 GB, free: 4.07 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5204/0.5213, allocations: 102 MB / 0.8178 GB, free: 1.051 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1333/0.6547, allocations: 130.4 MB / 0.9451 GB, free: 2.926 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.000146/0.6548, allocations: 55.84 kB / 0.9451 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.955e-05/0.6549, allocations: 0 / 0.9451 GB, free: 2.871 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001401/0.655, allocations: 3.938 kB / 0.9451 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001003/0.6551, allocations: 11.92 kB / 0.9451 GB, free: 2.855 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008593/0.656, allocations: 211.2 kB / 0.9453 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 8.495e-05/0.656, allocations: 35.91 kB / 0.9454 GB, free: 2.613 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.239e-05/0.6561, allocations: 0 / 0.9454 GB, free: 2.613 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 3.298e-05/0.6561, allocations: 15.88 kB / 0.9454 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.531e-05/0.6562, allocations: 15.97 kB / 0.9454 GB, free: 2.582 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.062e-05/0.6562, allocations: 0 / 0.9454 GB, free: 2.582 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002863/0.6565, allocations: 171.4 kB / 0.9456 GB, free: 2.414 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.552e-05/0.6565, allocations: 7.984 kB / 0.9456 GB, free: 2.406 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.244e-05/0.6566, allocations: 11.94 kB / 0.9456 GB, free: 2.395 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001899/0.6567, allocations: 105.8 kB / 0.9457 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.6568, allocations: 0 / 0.9457 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.252e-06/0.6568, allocations: 0 / 0.9457 GB, free: 2.297 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.6568, allocations: 0 / 0.9457 GB, free: 2.297 MB / 0.7136 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.000353/0.6571, allocations: 266.3 kB / 0.9459 GB, free: 2.008 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.6572, allocations: 8.031 kB / 0.946 GB, free: 2 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.478e-05/0.6572, allocations: 34.75 kB / 0.946 GB, free: 1.957 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002751/0.6575, allocations: 28.91 kB / 0.946 GB, free: 1.93 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.413e-05/0.6576, allocations: 122.1 kB / 0.9461 GB, free: 1.785 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.951e-05/0.6576, allocations: 51.41 kB / 0.9462 GB, free: 1.723 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.346e-06/0.6576, allocations: 0 / 0.9462 GB, free: 1.723 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/0.6578, allocations: 79.38 kB / 0.9463 GB, free: 1.633 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.6578, allocations: 3.938 kB / 0.9463 GB, free: 1.629 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.6578, allocations: 0 / 0.9463 GB, free: 1.629 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.609e-05/0.6578, allocations: 0 / 0.9463 GB, free: 1.629 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.661e-05/0.6578, allocations: 23.98 kB / 0.9463 GB, free: 1.605 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003164/0.6582, allocations: 231.9 kB / 0.9465 GB, free: 1.336 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.224e-05/0.6582, allocations: 22.58 kB / 0.9465 GB, free: 1.305 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.828e-05/0.6582, allocations: 4.859 kB / 0.9465 GB, free: 1.297 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.365e-05/0.6583, allocations: 16.05 kB / 0.9465 GB, free: 1.281 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/0.6584, allocations: 34.56 kB / 0.9466 GB, free: 1.238 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 7.82e-07/0.6584, allocations: 0 / 0.9466 GB, free: 1.238 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001827/0.6585, allocations: 53.72 kB / 0.9466 GB, free: 1.18 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.656e-05/0.6586, allocations: 55.34 kB / 0.9467 GB, free: 1.113 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.519e-05/0.6586, allocations: 105.8 kB / 0.9468 GB, free: 1 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.6586, allocations: 25.7 kB / 0.9468 GB, free: 0.9688 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.934e-05/0.6587, allocations: 88.08 kB / 0.9469 GB, free: 0.8789 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.145e-06/0.6587, allocations: 15.89 kB / 0.9469 GB, free: 0.8633 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.407e-05/0.6587, allocations: 17.7 kB / 0.9469 GB, free: 0.8398 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.835e-05/0.6588, allocations: 314.8 kB / 0.9472 GB, free: 0.5234 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.427e-05/0.6588, allocations: 4 kB / 0.9472 GB, free: 0.5195 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.171e-05/0.6588, allocations: 22.56 kB / 0.9472 GB, free: 500 kB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.553e-05/0.6589, allocations: 38.55 kB / 0.9473 GB, free: 452 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.6589, allocations: 4 kB / 0.9473 GB, free: 448 kB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.512e-05/0.6589, allocations: 57.58 kB / 0.9473 GB, free: 384 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.6589, allocations: 6.344 kB / 0.9473 GB, free: 380 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.6589, allocations: 0 / 0.9473 GB, free: 380 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.6589, allocations: 0 / 0.9473 GB, free: 380 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.357e-05/0.659, allocations: 12 kB / 0.9474 GB, free: 368 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.659, allocations: 8.031 kB / 0.9474 GB, free: 360 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.737e-05/0.659, allocations: 4 kB / 0.9474 GB, free: 356 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-06/0.659, allocations: 0 / 0.9474 GB, free: 356 kB / 0.7136 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 5.708e-05/0.6591, allocations: 117.8 kB / 0.9475 GB, free: 228 kB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.286e-05/0.6591, allocations: 0 / 0.9475 GB, free: 228 kB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.707e-05/0.6591, allocations: 15.2 kB / 0.9475 GB, free: 212 kB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.6591, allocations: 288 / 0.9475 GB, free: 212 kB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.6591, allocations: 7.938 kB / 0.9475 GB, free: 204 kB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.6591, allocations: 0 / 0.9475 GB, free: 204 kB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001988/0.6593, allocations: 326.8 kB / 0.9478 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.6593, allocations: 3.984 kB / 0.9478 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.377e-05/0.6593, allocations: 15.86 kB / 0.9478 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.6593, allocations: 0 / 0.9478 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.6594, allocations: 4 kB / 0.9478 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.6594, allocations: 0 / 0.9478 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.6594, allocations: 3.938 kB / 0.9478 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.156e-05/0.6594, allocations: 69.95 kB / 0.9479 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.404e-06/0.6594, allocations: 7.922 kB / 0.9479 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.6594, allocations: 4 kB / 0.9479 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.615e-05/0.6595, allocations: 4.062 kB / 0.9479 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.215e-05/0.6595, allocations: 4 kB / 0.9479 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-06/0.6595, allocations: 0 / 0.9479 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.986e-05/0.6595, allocations: 91.2 kB / 0.948 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.6595, allocations: 0 / 0.948 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001332/0.6597, allocations: 11.94 kB / 0.948 GB, free: 15.59 MB / 0.7292 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.0002539/0.6599, allocations: 0.6055 MB / 0.9486 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.945e-05/0.66, allocations: 19.97 kB / 0.9486 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.66, allocations: 0 / 0.9486 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.332e-06/0.66, allocations: 4 kB / 0.9486 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002139/0.6602, allocations: 14.38 kB / 0.9487 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003064/0.6605, allocations: 145.3 kB / 0.9488 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.189e-05/0.6606, allocations: 67.28 kB / 0.9489 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.809e-05/0.6606, allocations: 8.312 kB / 0.9489 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.108e-05/0.6606, allocations: 7.438 kB / 0.9489 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of SimCode: time 4.31e-07/0.6606, allocations: 0 / 0.9489 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01446/0.6751, allocations: 2.004 MB / 0.9508 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.766/7.441, allocations: 4.062 kB / 0.9508 GB, free: 12.73 MB / 0.7292 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_AirTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_AirTemperatureEnthalpyInversion.fmu > IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.319574403110892] Failed to read output from testmodel.py, exit status != 0: 7.5197099121287465 7.533177521 6.874671819 Calling exit ...