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.000807/0.000807, allocations: 115 kB / 19.7 MB, free: 0.5273 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.0007479/0.0007479, allocations: 203.9 kB / 23 MB, free: 3.125 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.8417/0.8417, allocations: 230.6 MB / 256.8 MB, free: 3.465 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.748/0.748, allocations: 203.8 MB / 0.5049 GB, free: 0.6797 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: translateModel(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion") [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.0008836/0.0008836, allocations: 63.41 kB / 0.7194 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4824/0.4833, allocations: 102 MB / 0.8191 GB, free: 14.55 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1267/0.6099, allocations: 151.6 MB / 0.9671 GB, free: 6.34 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001088/0.6101, allocations: 51.86 kB / 0.9672 GB, free: 6.289 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.653e-05/0.6101, allocations: 0 / 0.9672 GB, free: 6.289 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001267/0.6102, allocations: 3.938 kB / 0.9672 GB, free: 6.285 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.451e-05/0.6103, allocations: 15.97 kB / 0.9672 GB, free: 6.27 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000649/0.6109, allocations: 221.2 kB / 0.9674 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.234e-05/0.611, allocations: 31.91 kB / 0.9674 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.995e-05/0.6111, allocations: 4 kB / 0.9675 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.278e-05/0.6111, allocations: 15.92 kB / 0.9675 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.049e-05/0.6112, allocations: 23.92 kB / 0.9675 GB, free: 5.98 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.025e-05/0.6112, allocations: 0 / 0.9675 GB, free: 5.98 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003061/0.6115, allocations: 219.3 kB / 0.9677 GB, free: 5.766 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.328e-05/0.6115, allocations: 3.984 kB / 0.9677 GB, free: 5.762 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.643e-05/0.6115, allocations: 19.92 kB / 0.9677 GB, free: 5.742 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001942/0.6117, allocations: 106.5 kB / 0.9678 GB, free: 5.645 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.6117, allocations: 0 / 0.9678 GB, free: 5.645 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.643e-06/0.6117, allocations: 0 / 0.9678 GB, free: 5.645 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.332e-06/0.6117, allocations: 0 / 0.9678 GB, free: 5.645 MB / 0.7448 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.000352/0.6121, allocations: 270.3 kB / 0.9681 GB, free: 5.352 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.6121, allocations: 17.41 kB / 0.9681 GB, free: 5.336 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002501/0.6124, allocations: 20.92 kB / 0.9681 GB, free: 5.316 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.177e-05/0.6125, allocations: 118.5 kB / 0.9682 GB, free: 5.176 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.454e-05/0.6125, allocations: 59.28 kB / 0.9683 GB, free: 5.105 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.031e-05/0.6125, allocations: 0 / 0.9683 GB, free: 5.105 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.6127, allocations: 45.69 kB / 0.9683 GB, free: 5.055 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.6127, allocations: 3.938 kB / 0.9683 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.6127, allocations: 8 kB / 0.9683 GB, free: 5.043 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.533e-05/0.6127, allocations: 0 / 0.9683 GB, free: 5.043 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.002e-05/0.6127, allocations: 19.98 kB / 0.9684 GB, free: 5.023 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002896/0.613, allocations: 228 kB / 0.9686 GB, free: 4.758 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.71e-05/0.6131, allocations: 30.52 kB / 0.9686 GB, free: 4.719 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.844e-05/0.6131, allocations: 12.84 kB / 0.9686 GB, free: 4.703 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.577e-05/0.6132, allocations: 16.06 kB / 0.9686 GB, free: 4.688 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.6132, allocations: 30.56 kB / 0.9687 GB, free: 4.648 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.6132, allocations: 0 / 0.9687 GB, free: 4.648 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001805/0.6134, allocations: 49.69 kB / 0.9687 GB, free: 4.594 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/0.6134, allocations: 55.47 kB / 0.9688 GB, free: 4.527 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.161e-05/0.6135, allocations: 109.7 kB / 0.9689 GB, free: 4.41 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.6135, allocations: 29.7 kB / 0.9689 GB, free: 4.375 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.99e-05/0.6135, allocations: 88.09 kB / 0.969 GB, free: 4.285 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.883e-06/0.6135, allocations: 7.938 kB / 0.969 GB, free: 4.277 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.415e-05/0.6136, allocations: 17.72 kB / 0.969 GB, free: 4.254 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.567e-05/0.6136, allocations: 310.8 kB / 0.9693 GB, free: 3.941 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.226e-05/0.6136, allocations: 4 kB / 0.9693 GB, free: 3.938 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.747e-05/0.6137, allocations: 30.56 kB / 0.9693 GB, free: 3.898 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.288e-05/0.6137, allocations: 30.52 kB / 0.9694 GB, free: 3.859 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.6137, allocations: 0 / 0.9694 GB, free: 3.859 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.684e-05/0.6138, allocations: 57.58 kB / 0.9694 GB, free: 3.797 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.112e-05/0.6138, allocations: 8.094 kB / 0.9694 GB, free: 3.789 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.6138, allocations: 4 kB / 0.9694 GB, free: 3.785 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.638e-06/0.6138, allocations: 0 / 0.9694 GB, free: 3.785 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.362e-05/0.6138, allocations: 8 kB / 0.9694 GB, free: 3.777 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.912e-06/0.6138, allocations: 3.938 kB / 0.9694 GB, free: 3.773 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.515e-05/0.6139, allocations: 0 / 0.9694 GB, free: 3.773 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.6139, allocations: 7.938 kB / 0.9695 GB, free: 3.766 MB / 0.7448 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 6.114e-05/0.6139, allocations: 114.8 kB / 0.9696 GB, free: 3.645 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.417e-05/0.6139, allocations: 4.281 kB / 0.9696 GB, free: 3.641 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.786e-05/0.614, allocations: 7.266 kB / 0.9696 GB, free: 3.633 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.614, allocations: 7.984 kB / 0.9696 GB, free: 3.625 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.614, allocations: 3.938 kB / 0.9696 GB, free: 3.621 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-06/0.614, allocations: 0 / 0.9696 GB, free: 3.621 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001875/0.6142, allocations: 334.7 kB / 0.9699 GB, free: 3.238 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.6142, allocations: 0 / 0.9699 GB, free: 3.238 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.068e-05/0.6142, allocations: 4 kB / 0.9699 GB, free: 3.234 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.6142, allocations: 3.938 kB / 0.9699 GB, free: 3.23 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.25e-06/0.6142, allocations: 4.062 kB / 0.9699 GB, free: 3.227 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.6142, allocations: 0 / 0.9699 GB, free: 3.227 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.6142, allocations: 15.88 kB / 0.9699 GB, free: 3.211 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.956e-05/0.6142, allocations: 69.94 kB / 0.97 GB, free: 3.121 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.532e-06/0.6142, allocations: 7.938 kB / 0.97 GB, free: 3.113 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.6142, allocations: 4 kB / 0.97 GB, free: 3.109 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.745e-05/0.6143, allocations: 8.031 kB / 0.97 GB, free: 3.102 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.108e-05/0.6143, allocations: 3.984 kB / 0.97 GB, free: 3.098 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-06/0.6143, allocations: 0 / 0.97 GB, free: 3.098 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 2.498e-05/0.6143, allocations: 79.28 kB / 0.9701 GB, free: 3.02 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.6143, allocations: 0 / 0.9701 GB, free: 3.02 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001243/0.6145, allocations: 8 kB / 0.9701 GB, free: 3.012 MB / 0.7448 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 9.884e-05/0.6146, allocations: 111.2 kB / 0.9702 GB, free: 2.895 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.504e-05/0.6146, allocations: 15.94 kB / 0.9702 GB, free: 2.879 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.6146, allocations: 0 / 0.9702 GB, free: 2.879 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.652e-06/0.6146, allocations: 7.938 kB / 0.9702 GB, free: 2.871 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001874/0.6148, allocations: 8 kB / 0.9702 GB, free: 2.863 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002386/0.6151, allocations: 149.7 kB / 0.9704 GB, free: 2.684 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001745/0.6152, allocations: 0.6807 MB / 0.971 GB, free: 1.977 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.011e-05/0.6152, allocations: 7.438 kB / 0.9711 GB, free: 1.969 MB / 0.7448 GB Notification: Performance of SimCode: time 4.31e-07/0.6152, allocations: 0 / 0.9711 GB, free: 1.969 MB / 0.7448 GB Notification: Performance of Templates: time 0.001489/0.6167, allocations: 0.6194 MB / 0.9717 GB, free: 1.352 MB / 0.7448 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.836802831850946] Failed to read output from testmodel.py, exit status != 0: 0.6225021809805185 0.630220567 0.016843194000000002 Calling exit ...