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.001305/0.001305, allocations: 78.81 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001534/0.001534, allocations: 162.7 kB / 22.46 MB, free: 5.375 MB / 14.72 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 1.5/1.5, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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 1.261/1.261, allocations: 154.6 MB / 413.7 MB, free: 5.297 MB / 382.1 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 178] 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 2.214e-06/2.214e-06, allocations: 0 / 0.6185 GB, free: 4.691 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.519e-05/3.74e-05, allocations: 6.484 kB / 0.6185 GB, free: 4.688 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.6551/0.6552, allocations: 130.4 MB / 0.7458 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0001441/0.6553, allocations: 45.61 kB / 0.7459 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.934e-05/0.6553, allocations: 0 / 0.7459 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001374/0.6555, allocations: 5.094 kB / 0.7459 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.43e-05/0.6556, allocations: 20.3 kB / 0.7459 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009235/0.6565, allocations: 212.2 kB / 0.7461 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001043/0.6566, allocations: 35.77 kB / 0.7461 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.938e-05/0.6567, allocations: 1.281 kB / 0.7461 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.493e-05/0.6567, allocations: 20.23 kB / 0.7461 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.938e-05/0.6568, allocations: 15.38 kB / 0.7462 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.91e-05/0.6568, allocations: 0 / 0.7462 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003842/0.6572, allocations: 168.8 kB / 0.7463 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.321e-05/0.6573, allocations: 11.53 kB / 0.7463 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.214e-05/0.6573, allocations: 7.891 kB / 0.7463 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002671/0.6576, allocations: 117.2 kB / 0.7464 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.6576, allocations: 0 / 0.7464 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.493e-06/0.6576, allocations: 0 / 0.7464 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.247e-05/0.6576, allocations: 0 / 0.7464 GB, free: 6.117 MB / 0.6075 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.0003903/0.658, allocations: 262.5 kB / 0.7467 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.658, allocations: 11.53 kB / 0.7467 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003474/0.6584, allocations: 27.38 kB / 0.7467 GB, free: 5.852 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.112e-05/0.6585, allocations: 112.1 kB / 0.7468 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.634e-05/0.6585, allocations: 56.25 kB / 0.7469 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.799e-06/0.6585, allocations: 3.344 kB / 0.7469 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.6587, allocations: 79.69 kB / 0.747 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.6587, allocations: 0 / 0.747 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.6587, allocations: 0 / 0.747 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.812e-05/0.6587, allocations: 2.781 kB / 0.747 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.662e-05/0.6588, allocations: 20.58 kB / 0.747 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003262/0.6591, allocations: 209 kB / 0.7472 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.967e-05/0.6592, allocations: 25.98 kB / 0.7472 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.242e-05/0.6592, allocations: 7.016 kB / 0.7472 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001279/0.6593, allocations: 20.03 kB / 0.7472 GB, free: 5.352 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.6593, allocations: 31.62 kB / 0.7473 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.462e-06/0.6593, allocations: 0 / 0.7473 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.000262/0.6596, allocations: 48.92 kB / 0.7473 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.429e-05/0.6596, allocations: 59.34 kB / 0.7474 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.073e-05/0.6597, allocations: 102.3 kB / 0.7475 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.136e-05/0.6597, allocations: 27.02 kB / 0.7475 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.217e-05/0.6597, allocations: 96.58 kB / 0.7476 GB, free: 4.992 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.284e-06/0.6597, allocations: 9.234 kB / 0.7476 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.966e-05/0.6598, allocations: 15.08 kB / 0.7476 GB, free: 4.969 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 6.065e-05/0.6598, allocations: 319.3 kB / 0.7479 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.91e-05/0.6599, allocations: 6.547 kB / 0.7479 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.455e-05/0.6599, allocations: 24.81 kB / 0.7479 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.158e-05/0.6599, allocations: 36.17 kB / 0.748 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.6599, allocations: 0 / 0.748 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.494e-05/0.66, allocations: 57.38 kB / 0.748 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.66, allocations: 5.625 kB / 0.748 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.66, allocations: 1.125 kB / 0.748 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.66, allocations: 1.312 kB / 0.748 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.856e-05/0.6601, allocations: 8.5 kB / 0.7481 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.6601, allocations: 3.672 kB / 0.7481 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.809e-05/0.6601, allocations: 9.094 kB / 0.7481 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.6601, allocations: 2.859 kB / 0.7481 GB, free: 4.555 MB / 0.6075 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.157e-05/0.6602, allocations: 114.4 kB / 0.7482 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.488e-05/0.6602, allocations: 2 kB / 0.7482 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.438e-05/0.6603, allocations: 17.02 kB / 0.7482 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.6603, allocations: 0.8125 kB / 0.7482 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.6603, allocations: 0 / 0.7482 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.6603, allocations: 1.219 kB / 0.7482 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001956/0.6605, allocations: 313.3 kB / 0.7485 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.6605, allocations: 4.062 kB / 0.7485 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.407e-05/0.6605, allocations: 2.562 kB / 0.7485 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.6605, allocations: 4.031 kB / 0.7485 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.595e-06/0.6605, allocations: 0 / 0.7485 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.6605, allocations: 9.156 kB / 0.7485 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.6605, allocations: 0 / 0.7485 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.791e-05/0.6606, allocations: 75.41 kB / 0.7486 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.534e-06/0.6606, allocations: 2.062 kB / 0.7486 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.6606, allocations: 0 / 0.7486 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.071e-05/0.6607, allocations: 5.188 kB / 0.7486 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.751e-05/0.6607, allocations: 9.938 kB / 0.7486 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.596e-06/0.6607, allocations: 3.938 kB / 0.7486 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.631e-05/0.6607, allocations: 81.61 kB / 0.7487 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of sort global known variables: time 6e-08/0.6607, allocations: 1.375 kB / 0.7487 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001989/0.6609, allocations: 9.625 kB / 0.7487 GB, free: 3.926 MB / 0.6075 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.0001301/0.661, allocations: 106.9 kB / 0.7488 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 9.091e-05/0.6611, allocations: 12.19 kB / 0.7488 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.6611, allocations: 4.188 kB / 0.7488 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.129e-05/0.6612, allocations: 11.5 kB / 0.7488 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002568/0.6614, allocations: 3.406 kB / 0.7488 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002806/0.6617, allocations: 106.4 kB / 0.7489 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.231e-05/0.6617, allocations: 63.12 kB / 0.749 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.531e-05/0.6618, allocations: 9.781 kB / 0.749 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.338e-05/0.6618, allocations: 9.688 kB / 0.749 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of SimCode: time 4.91e-07/0.6618, allocations: 0 / 0.749 GB, free: 3.637 MB / 0.6075 GB Notification: Performance of Templates: time 0.003193/0.665, allocations: 0.5973 MB / 0.7496 GB, free: 3.57 MB / 0.6075 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: 6.677475489675999] Failed to read output from testmodel.py, exit status != 0: 0.6736196018755436 0.689751046 0.029072320000000002 Calling exit ...