Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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.0006159/0.0006159, allocations: 76.5 kB / 19.93 MB, free: 4.621 MB / 18.57 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.0007697/0.0007697, allocations: 177.9 kB / 23.21 MB, free: 1.34 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 0.8805/0.8805, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.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.745/0.745, allocations: 154.5 MB / 414.5 MB, free: 0.8477 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 0.6193 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.128e-05/3.315e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.4421/0.4421, allocations: 130 MB / 0.7462 GB, free: 20.09 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0001226/0.4422, allocations: 47.7 kB / 0.7463 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.807e-05/0.4423, allocations: 1.156 kB / 0.7463 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001318/0.4424, allocations: 4.594 kB / 0.7463 GB, free: 20.06 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 8.226e-05/0.4425, allocations: 18.12 kB / 0.7463 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.000458/0.4429, allocations: 104.3 kB / 0.7464 GB, free: 20 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 9.708e-05/0.443, allocations: 37.66 kB / 0.7464 GB, free: 19.99 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.549e-05/0.4431, allocations: 1.75 kB / 0.7464 GB, free: 19.99 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 6.179e-05/0.4431, allocations: 27.78 kB / 0.7464 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 7.131e-05/0.4432, allocations: 8.781 kB / 0.7464 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.481e-05/0.4432, allocations: 1.25 kB / 0.7464 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002076/0.4434, allocations: 70.23 kB / 0.7465 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 5.405e-05/0.4435, allocations: 10.58 kB / 0.7465 GB, free: 19.95 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.257e-05/0.4435, allocations: 14.12 kB / 0.7465 GB, free: 19.94 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001665/0.4437, allocations: 83.34 kB / 0.7466 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.4437, allocations: 0 / 0.7466 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.704e-06/0.4437, allocations: 0 / 0.7466 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.4437, allocations: 0 / 0.7466 GB, free: 19.91 MB / 0.6355 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.0003064/0.444, allocations: 258.2 kB / 0.7469 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.444, allocations: 10.94 kB / 0.7469 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001829/0.4442, allocations: 20.09 kB / 0.7469 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.114e-05/0.4443, allocations: 108.9 kB / 0.747 GB, free: 19.52 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.819e-05/0.4443, allocations: 54.97 kB / 0.747 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.856e-06/0.4444, allocations: 1.562 kB / 0.7471 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/0.4445, allocations: 76.09 kB / 0.7471 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.4445, allocations: 0 / 0.7471 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.4445, allocations: 0.6562 kB / 0.7471 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.738e-05/0.4445, allocations: 3.062 kB / 0.7471 GB, free: 19.39 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.494e-05/0.4446, allocations: 21.62 kB / 0.7471 GB, free: 19.38 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002563/0.4448, allocations: 206.1 kB / 0.7473 GB, free: 19.17 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.741e-05/0.4448, allocations: 23.17 kB / 0.7474 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.337e-05/0.4449, allocations: 6.297 kB / 0.7474 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.671e-06/0.4449, allocations: 0.5156 kB / 0.7474 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.637e-05/0.4449, allocations: 32.73 kB / 0.7474 GB, free: 19.1 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 8.41e-07/0.4449, allocations: 0 / 0.7474 GB, free: 19.1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001101/0.445, allocations: 41.73 kB / 0.7474 GB, free: 19.06 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.781e-05/0.445, allocations: 51.97 kB / 0.7475 GB, free: 19 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.542e-05/0.4451, allocations: 114.3 kB / 0.7476 GB, free: 18.89 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.242e-06/0.4451, allocations: 29.64 kB / 0.7476 GB, free: 18.85 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.551e-05/0.4451, allocations: 91.22 kB / 0.7477 GB, free: 18.76 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.07e-06/0.4451, allocations: 1.438 kB / 0.7477 GB, free: 18.76 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.406e-05/0.4451, allocations: 21.34 kB / 0.7477 GB, free: 18.74 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.944e-05/0.4452, allocations: 317.1 kB / 0.748 GB, free: 18.42 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.309e-05/0.4452, allocations: 8.766 kB / 0.748 GB, free: 18.42 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.123e-05/0.4452, allocations: 21.92 kB / 0.7481 GB, free: 18.39 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.17e-05/0.4452, allocations: 32.78 kB / 0.7481 GB, free: 18.36 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4452, allocations: 0 / 0.7481 GB, free: 18.36 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.683e-05/0.4453, allocations: 57.45 kB / 0.7482 GB, free: 18.32 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.4453, allocations: 5.922 kB / 0.7482 GB, free: 18.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.4453, allocations: 1.406 kB / 0.7482 GB, free: 18.32 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.4453, allocations: 0 / 0.7482 GB, free: 18.32 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.359e-05/0.4454, allocations: 6.766 kB / 0.7482 GB, free: 18.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.4454, allocations: 1.938 kB / 0.7482 GB, free: 18.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.986e-05/0.4454, allocations: 4.312 kB / 0.7482 GB, free: 18.32 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.4454, allocations: 4.531 kB / 0.7482 GB, free: 18.32 MB / 0.6355 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 3.849e-05/0.4454, allocations: 121.8 kB / 0.7483 GB, free: 18.2 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.299e-05/0.4454, allocations: 11.38 kB / 0.7483 GB, free: 18.19 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.681e-05/0.4455, allocations: 5.469 kB / 0.7483 GB, free: 18.18 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.02e-07/0.4455, allocations: 0 / 0.7483 GB, free: 18.18 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.257e-06/0.4455, allocations: 0 / 0.7483 GB, free: 18.18 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.4455, allocations: 1.469 kB / 0.7483 GB, free: 18.18 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001061/0.4456, allocations: 299.3 kB / 0.7486 GB, free: 17.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-07/0.4456, allocations: 0 / 0.7486 GB, free: 17.86 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.5e-06/0.4456, allocations: 2.531 kB / 0.7486 GB, free: 17.86 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.4456, allocations: 0.75 kB / 0.7486 GB, free: 17.86 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.548e-06/0.4456, allocations: 0 / 0.7486 GB, free: 17.86 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.4456, allocations: 1.312 kB / 0.7486 GB, free: 17.86 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.4456, allocations: 7.969 kB / 0.7486 GB, free: 17.86 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.425e-05/0.4456, allocations: 63.11 kB / 0.7487 GB, free: 17.79 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.751e-06/0.4456, allocations: 2.141 kB / 0.7487 GB, free: 17.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.031e-05/0.4456, allocations: 0.5625 kB / 0.7487 GB, free: 17.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.415e-05/0.4457, allocations: 3.5 kB / 0.7487 GB, free: 17.79 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.068e-05/0.4457, allocations: 1.766 kB / 0.7487 GB, free: 17.79 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-06/0.4457, allocations: 0.9688 kB / 0.7487 GB, free: 17.79 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.963e-05/0.4457, allocations: 93.8 kB / 0.7488 GB, free: 17.7 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4457, allocations: 0 / 0.7488 GB, free: 17.7 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001204/0.4458, allocations: 7.688 kB / 0.7488 GB, free: 17.7 MB / 0.6355 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 7.084e-05/0.4459, allocations: 100.2 kB / 0.7489 GB, free: 17.61 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.65e-05/0.446, allocations: 14.33 kB / 0.7489 GB, free: 17.61 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.446, allocations: 0 / 0.7489 GB, free: 17.61 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.238e-06/0.446, allocations: 6.188 kB / 0.7489 GB, free: 17.6 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001855/0.4462, allocations: 8.562 kB / 0.7489 GB, free: 17.6 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002027/0.4464, allocations: 131.1 kB / 0.749 GB, free: 17.47 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.344e-05/0.4464, allocations: 65.8 kB / 0.7491 GB, free: 17.39 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.86e-05/0.4464, allocations: 9.781 kB / 0.7491 GB, free: 17.39 MB / 0.6355 GB Notification: Performance of SimCode: time 3.6e-07/0.4464, allocations: 1.469 kB / 0.7491 GB, free: 17.39 MB / 0.6355 GB Notification: Performance of Templates: time 0.001557/0.448, allocations: 0.586 MB / 0.7497 GB, free: 17.37 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.482541502453387] Failed to read output from testmodel.py, exit status != 0: 0.453975735232234 0.461713719 0.016183795 Calling exit ...