Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.0007086/0.0007086, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009052/0.001614, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007864/0.0007864, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000894/0.00168, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9231/0.9231, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08185/1.005, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.851/1.851, allocations: 389.9 MB / 0.619 GB, free: 11.77 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4972/2.348, allocations: 127.1 MB / 0.7432 GB, free: 4.574 MB / 0.7136 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 0.7445 GB, free: 3.301 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.51e-05/1.647e-05, allocations: 2.312 kB / 0.7445 GB, free: 3.297 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.008828/0.008844, allocations: 4.226 MB / 0.7486 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.000182/0.009026, allocations: 174 kB / 0.7488 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.886e-05/0.009045, allocations: 0 / 0.7488 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 6.24e-05/0.009108, allocations: 7.938 kB / 0.7488 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.829e-05/0.009166, allocations: 13.19 kB / 0.7488 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.00022/0.009386, allocations: 84.56 kB / 0.7489 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 7.618e-05/0.009462, allocations: 28.77 kB / 0.7489 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.517e-05/0.009497, allocations: 4 kB / 0.7489 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 6.736e-05/0.009565, allocations: 30.56 kB / 0.7489 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.394e-05/0.009628, allocations: 11.98 kB / 0.7489 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/0.00964, allocations: 0 / 0.7489 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001596/0.009799, allocations: 55.75 kB / 0.749 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.366e-05/0.009833, allocations: 4 kB / 0.749 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.648e-05/0.009849, allocations: 7.984 kB / 0.749 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001182/0.009967, allocations: 55.84 kB / 0.749 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.457e-05/0.009982, allocations: 3.781 kB / 0.749 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.02e-07/0.009983, allocations: 0 / 0.749 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.564e-05/0.009998, allocations: 0 / 0.749 GB, free: 14.65 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003372/0.01034, allocations: 240.6 kB / 0.7493 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.161e-05/0.01037, allocations: 12.03 kB / 0.7493 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.665e-05/0.01039, allocations: 4.875 kB / 0.7493 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.294e-05/0.01048, allocations: 109.8 kB / 0.7494 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.989e-05/0.01053, allocations: 55.97 kB / 0.7494 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.017e-05/0.01054, allocations: 4.375 kB / 0.7495 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001407/0.01068, allocations: 82.72 kB / 0.7495 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.01068, allocations: 192 / 0.7495 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.01069, allocations: 3.938 kB / 0.7495 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.075e-05/0.01071, allocations: 0 / 0.7495 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.313e-05/0.01074, allocations: 11.98 kB / 0.7495 GB, free: 14.06 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002593/0.011, allocations: 165.9 kB / 0.7497 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 2.97e-05/0.01103, allocations: 18.58 kB / 0.7497 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.022e-05/0.01104, allocations: 4.859 kB / 0.7497 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.27e-05/0.01107, allocations: 7.688 kB / 0.7497 GB, free: 13.84 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.01109, allocations: 42.5 kB / 0.7498 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 1.232e-06/0.01109, allocations: 0 / 0.7498 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 9.067e-05/0.01118, allocations: 37.62 kB / 0.7498 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.658e-05/0.01121, allocations: 51.41 kB / 0.7499 GB, free: 13.69 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.112e-05/0.01127, allocations: 114.6 kB / 0.75 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.081e-05/0.01128, allocations: 25.7 kB / 0.75 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.427e-05/0.01132, allocations: 84.09 kB / 0.7501 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.767e-06/0.01132, allocations: 3.125 kB / 0.7501 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.292e-05/0.01135, allocations: 21.67 kB / 0.7501 GB, free: 13.42 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.0115, allocations: 318.8 kB / 0.7504 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.881e-06/0.0115, allocations: 3.938 kB / 0.7504 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.78e-05/0.01152, allocations: 17.7 kB / 0.7504 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.66e-05/0.01155, allocations: 20.48 kB / 0.7504 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.01155, allocations: 0 / 0.7504 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.159e-05/0.0116, allocations: 42.38 kB / 0.7505 GB, free: 13 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.01161, allocations: 10.03 kB / 0.7505 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.01162, allocations: 0 / 0.7505 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.508e-06/0.01163, allocations: 4 kB / 0.7505 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.99e-05/0.01168, allocations: 12.92 kB / 0.7505 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.735e-06/0.01168, allocations: 0 / 0.7505 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.625e-05/0.0117, allocations: 4 kB / 0.7505 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-06/0.0117, allocations: 4.594 kB / 0.7505 GB, free: 12.96 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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.164e-05/0.01176, allocations: 109.2 kB / 0.7506 GB, free: 12.85 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.041e-05/0.01178, allocations: 12.78 kB / 0.7506 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.67e-05/0.01186, allocations: 117.9 kB / 0.7507 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.387e-05/0.01191, allocations: 180.2 kB / 0.7509 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-05/0.01195, allocations: 176.3 kB / 0.7511 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.387e-05/0.01199, allocations: 186 kB / 0.7513 GB, free: 12.16 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001467/0.01214, allocations: 325.4 kB / 0.7516 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.654e-05/0.01216, allocations: 105 kB / 0.7517 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.533e-05/0.01219, allocations: 104.9 kB / 0.7518 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.207e-05/0.01222, allocations: 105.7 kB / 0.7519 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001073/0.01329, allocations: 184.2 kB / 0.7521 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.954e-05/0.01334, allocations: 185 kB / 0.7522 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.317e-05/0.01339, allocations: 176.3 kB / 0.7524 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.56e-05/0.01343, allocations: 182 kB / 0.7526 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001154/0.01355, allocations: 311.8 kB / 0.7529 GB, free: 10.42 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.019e-05/0.01361, allocations: 176.3 kB / 0.753 GB, free: 10.24 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/0.01373, allocations: 108.9 kB / 0.7531 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.356e-05/0.01378, allocations: 184.5 kB / 0.7533 GB, free: 9.938 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.283e-05/0.01381, allocations: 105.6 kB / 0.7534 GB, free: 9.828 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.066e-05/0.01383, allocations: 13.42 kB / 0.7534 GB, free: 9.812 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.01383, allocations: 0 / 0.7534 GB, free: 9.812 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002009/0.01403, allocations: 21.53 kB / 0.7534 GB, free: 9.793 MB / 0.7292 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 (0): * Single equations (assignments): 0 * 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.000149/0.01418, allocations: 175.5 kB / 0.7536 GB, free: 9.613 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.056e-05/0.01425, allocations: 21.59 kB / 0.7536 GB, free: 9.59 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.01426, allocations: 0 / 0.7536 GB, free: 9.59 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.12e-07/0.01426, allocations: 0.875 kB / 0.7536 GB, free: 9.59 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002718/0.01453, allocations: 459.7 kB / 0.7541 GB, free: 9.137 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008227/0.01535, allocations: 200.1 kB / 0.7543 GB, free: 8.914 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.247e-05/0.01538, allocations: 52.52 kB / 0.7543 GB, free: 8.844 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.085e-05/0.01542, allocations: 5.469 kB / 0.7543 GB, free: 8.84 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.947e-05/0.01549, allocations: 63.34 kB / 0.7544 GB, free: 8.777 MB / 0.7292 GB Notification: Performance of SimCode: time 7.02e-07/0.01549, allocations: 0 / 0.7544 GB, free: 8.777 MB / 0.7292 GB Notification: Performance of Templates: time 0.002141/0.01763, allocations: 0.7739 MB / 0.7551 GB, free: 8.043 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_13_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_13_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_13_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_13_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.728448139503598]