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.0008132/0.0008132, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008527/0.0008527, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8835/0.8835, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.6944/0.6944, allocations: 154.5 MB / 414.5 MB, free: 0.8281 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.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: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.6192 GB, free: 13.25 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.307e-05/2.473e-05, allocations: 2.281 kB / 0.6192 GB, free: 13.25 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.4155/0.4155, allocations: 130.4 MB / 0.7466 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.000125/0.4157, allocations: 45.88 kB / 0.7466 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.895e-05/0.4157, allocations: 5 kB / 0.7466 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001167/0.4158, allocations: 0.7969 kB / 0.7466 GB, free: 19.83 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.46e-05/0.4159, allocations: 18.34 kB / 0.7466 GB, free: 19.82 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006369/0.4165, allocations: 207.1 kB / 0.7468 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 7.995e-05/0.4166, allocations: 38.06 kB / 0.7469 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.461e-05/0.4166, allocations: 5.75 kB / 0.7469 GB, free: 19.72 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 4.667e-05/0.4167, allocations: 23.75 kB / 0.7469 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 6.552e-05/0.4168, allocations: 12.8 kB / 0.7469 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.4168, allocations: 1.156 kB / 0.7469 GB, free: 19.71 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002644/0.417, allocations: 168.1 kB / 0.7471 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 4.741e-05/0.4171, allocations: 9.578 kB / 0.7471 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.202e-05/0.4171, allocations: 6.938 kB / 0.7471 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002062/0.4173, allocations: 117.5 kB / 0.7472 GB, free: 19.6 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.4173, allocations: 1.188 kB / 0.7472 GB, free: 19.6 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.184e-06/0.4173, allocations: 0 / 0.7472 GB, free: 19.6 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.4173, allocations: 4 kB / 0.7472 GB, free: 19.6 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.0003078/0.4176, allocations: 263.5 kB / 0.7474 GB, free: 19.33 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.4177, allocations: 9.875 kB / 0.7474 GB, free: 19.33 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002454/0.4179, allocations: 28.95 kB / 0.7475 GB, free: 19.33 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.767e-05/0.418, allocations: 104.3 kB / 0.7476 GB, free: 19.21 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.49e-05/0.418, allocations: 58.38 kB / 0.7476 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.225e-06/0.418, allocations: 5.547 kB / 0.7476 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.4181, allocations: 77.22 kB / 0.7477 GB, free: 19.07 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.4181, allocations: 4.609 kB / 0.7477 GB, free: 19.06 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.4181, allocations: 1.344 kB / 0.7477 GB, free: 19.06 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.38e-05/0.4182, allocations: 2.203 kB / 0.7477 GB, free: 19.06 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.322e-05/0.4182, allocations: 20.08 kB / 0.7477 GB, free: 19.06 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002309/0.4184, allocations: 210 kB / 0.7479 GB, free: 18.85 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.368e-05/0.4185, allocations: 28.25 kB / 0.748 GB, free: 18.82 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.55e-05/0.4185, allocations: 7.047 kB / 0.748 GB, free: 18.81 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.71e-05/0.4186, allocations: 14.39 kB / 0.748 GB, free: 18.81 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.655e-05/0.4186, allocations: 41.64 kB / 0.748 GB, free: 18.76 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.4186, allocations: 0 / 0.748 GB, free: 18.76 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001706/0.4188, allocations: 48.41 kB / 0.7481 GB, free: 18.73 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.746e-05/0.4188, allocations: 54.72 kB / 0.7481 GB, free: 18.66 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.875e-05/0.4188, allocations: 107.2 kB / 0.7482 GB, free: 18.56 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.586e-06/0.4189, allocations: 26.89 kB / 0.7482 GB, free: 18.53 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.397e-05/0.4189, allocations: 89.83 kB / 0.7483 GB, free: 18.44 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.291e-06/0.4189, allocations: 5.844 kB / 0.7483 GB, free: 18.43 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.412e-05/0.4189, allocations: 17.59 kB / 0.7484 GB, free: 18.41 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.886e-05/0.4189, allocations: 321.6 kB / 0.7487 GB, free: 18.09 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.2e-05/0.4189, allocations: 4.188 kB / 0.7487 GB, free: 18.09 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.118e-05/0.419, allocations: 25.84 kB / 0.7487 GB, free: 18.07 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.312e-05/0.419, allocations: 32.98 kB / 0.7487 GB, free: 18.04 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.419, allocations: 1.312 kB / 0.7487 GB, free: 18.04 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.218e-05/0.4191, allocations: 55.84 kB / 0.7488 GB, free: 17.99 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.4191, allocations: 10.42 kB / 0.7488 GB, free: 17.99 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.4191, allocations: 1.031 kB / 0.7488 GB, free: 17.99 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.4191, allocations: 1 kB / 0.7488 GB, free: 17.99 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.844e-05/0.4191, allocations: 6.406 kB / 0.7488 GB, free: 17.99 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.4191, allocations: 2.078 kB / 0.7488 GB, free: 17.99 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.598e-05/0.4191, allocations: 2.281 kB / 0.7488 GB, free: 17.99 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.937e-06/0.4191, allocations: 1.094 kB / 0.7488 GB, free: 17.99 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.815e-05/0.4192, allocations: 114.8 kB / 0.7489 GB, free: 17.87 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.467e-05/0.4192, allocations: 1.938 kB / 0.7489 GB, free: 17.87 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.898e-05/0.4192, allocations: 9.047 kB / 0.7489 GB, free: 17.86 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.4192, allocations: 4 kB / 0.7489 GB, free: 17.86 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.4192, allocations: 6.562 kB / 0.7489 GB, free: 17.86 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.4192, allocations: 0.7969 kB / 0.7489 GB, free: 17.86 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001316/0.4194, allocations: 318 kB / 0.7492 GB, free: 17.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.4194, allocations: 1.344 kB / 0.7492 GB, free: 17.52 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.114e-05/0.4194, allocations: 3.625 kB / 0.7492 GB, free: 17.52 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.4194, allocations: 4.938 kB / 0.7492 GB, free: 17.52 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-06/0.4194, allocations: 1.125 kB / 0.7492 GB, free: 17.52 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.4194, allocations: 0 / 0.7492 GB, free: 17.52 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.4194, allocations: 5.594 kB / 0.7493 GB, free: 17.52 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.713e-05/0.4194, allocations: 79.28 kB / 0.7493 GB, free: 17.43 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.182e-06/0.4194, allocations: 3.828 kB / 0.7493 GB, free: 17.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.021e-05/0.4194, allocations: 1.438 kB / 0.7493 GB, free: 17.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.591e-05/0.4195, allocations: 4.062 kB / 0.7493 GB, free: 17.43 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.283e-05/0.4195, allocations: 6.016 kB / 0.7493 GB, free: 17.43 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-06/0.4195, allocations: 5.281 kB / 0.7493 GB, free: 17.42 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.654e-05/0.4195, allocations: 85 kB / 0.7494 GB, free: 17.34 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4195, allocations: 1.688 kB / 0.7494 GB, free: 17.34 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001223/0.4196, allocations: 6.5 kB / 0.7494 GB, free: 17.34 MB / 0.6355 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.049e-05/0.4197, allocations: 104.2 kB / 0.7495 GB, free: 17.25 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.48e-05/0.4198, allocations: 23.31 kB / 0.7496 GB, free: 17.24 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.4198, allocations: 0 / 0.7496 GB, free: 17.24 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.813e-06/0.4198, allocations: 7.812 kB / 0.7496 GB, free: 17.24 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001783/0.42, allocations: 5.547 kB / 0.7496 GB, free: 17.24 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002058/0.4202, allocations: 143.4 kB / 0.7497 GB, free: 17.09 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.106e-05/0.4202, allocations: 63.8 kB / 0.7498 GB, free: 17.02 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.089e-05/0.4202, allocations: 9.688 kB / 0.7498 GB, free: 17.02 MB / 0.6355 GB Notification: Performance of SimCode: time 3.6e-07/0.4202, allocations: 1.062 kB / 0.7498 GB, free: 17.02 MB / 0.6355 GB Notification: Performance of Templates: time 0.00164/0.4219, allocations: 0.6303 MB / 0.7504 GB, free: 16.99 MB / 0.6355 GB " [Timeout remaining time 660] 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.485410472378135] Failed to read output from testmodel.py, exit status != 0: 0.4275306509807706 0.439910249 0.020186971 Calling exit ...