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.0006739/0.0006739, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00097/0.001644, allocations: 449.8 kB / 10.44 MB, free: 252 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.001434/0.001434, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001676/0.00311, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9437/0.9437, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08512/1.029, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.959/1.959, allocations: 390 MB / 0.6193 GB, free: 11.64 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5479/2.507, allocations: 127.1 MB / 0.7435 GB, free: 4.535 MB / 0.7136 GB " [Timeout remaining time 177] 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.273e-06/1.273e-06, allocations: 0 / 0.7448 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.983e-05/2.11e-05, allocations: 2.938 kB / 0.7448 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004003/0.004024, allocations: 4.241 MB / 0.7489 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0001458/0.00417, allocations: 171 kB / 0.7491 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.723e-05/0.004187, allocations: 0 / 0.7491 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 5.339e-05/0.00424, allocations: 5.031 kB / 0.7491 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 5.395e-05/0.004294, allocations: 16.88 kB / 0.7491 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002005/0.004495, allocations: 88.27 kB / 0.7492 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 7.472e-05/0.00457, allocations: 31.84 kB / 0.7492 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.929e-05/0.004609, allocations: 5 kB / 0.7492 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 6.021e-05/0.004669, allocations: 23.92 kB / 0.7492 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 7.475e-05/0.004744, allocations: 11.97 kB / 0.7493 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.004759, allocations: 4.969 kB / 0.7493 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001551/0.004914, allocations: 55.75 kB / 0.7493 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.112e-05/0.004955, allocations: 4.594 kB / 0.7493 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.603e-05/0.004971, allocations: 4.719 kB / 0.7493 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001315/0.005102, allocations: 55.83 kB / 0.7494 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.348e-05/0.005116, allocations: 1.5 kB / 0.7494 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.91e-07/0.005116, allocations: 0 / 0.7494 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.628e-05/0.005133, allocations: 0 / 0.7494 GB, free: 14.59 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.0003874/0.00552, allocations: 244.6 kB / 0.7496 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.005555, allocations: 13.16 kB / 0.7496 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.882e-05/0.005594, allocations: 0.9375 kB / 0.7496 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001104/0.005705, allocations: 113.7 kB / 0.7497 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.92e-05/0.005764, allocations: 53.03 kB / 0.7498 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.546e-05/0.005779, allocations: 8.375 kB / 0.7498 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001083/0.005888, allocations: 80.34 kB / 0.7499 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.005894, allocations: 192 / 0.7499 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.005902, allocations: 3.938 kB / 0.7499 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.222e-05/0.005925, allocations: 0.5312 kB / 0.7499 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.836e-05/0.005943, allocations: 4.656 kB / 0.7499 GB, free: 14 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002335/0.006177, allocations: 165.9 kB / 0.75 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 2.66e-05/0.006203, allocations: 19.58 kB / 0.7501 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.063e-05/0.006214, allocations: 8.844 kB / 0.7501 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.848e-05/0.006242, allocations: 4.75 kB / 0.7501 GB, free: 13.78 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.006265, allocations: 40.22 kB / 0.7501 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.006266, allocations: 0 / 0.7501 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 7.942e-05/0.006345, allocations: 45.61 kB / 0.7502 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.032e-05/0.006365, allocations: 51.41 kB / 0.7502 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.58e-05/0.006421, allocations: 111.5 kB / 0.7503 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.639e-06/0.006431, allocations: 25.7 kB / 0.7503 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.15e-05/0.006462, allocations: 88.58 kB / 0.7504 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.317e-06/0.006466, allocations: 0 / 0.7504 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.096e-05/0.006487, allocations: 18.33 kB / 0.7504 GB, free: 13.36 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.453e-05/0.006561, allocations: 318 kB / 0.7507 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.543e-06/0.006568, allocations: 3.984 kB / 0.7507 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.356e-05/0.006581, allocations: 17.72 kB / 0.7508 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.001e-05/0.006611, allocations: 24.48 kB / 0.7508 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.006613, allocations: 0 / 0.7508 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 3.991e-05/0.006652, allocations: 37.69 kB / 0.7508 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.006664, allocations: 14.62 kB / 0.7508 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-06/0.006667, allocations: 4 kB / 0.7508 GB, free: 12.92 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.006678, allocations: 0 / 0.7508 GB, free: 12.92 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.135e-05/0.006709, allocations: 11.92 kB / 0.7508 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.615e-06/0.006712, allocations: 0 / 0.7508 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.025e-05/0.006722, allocations: 4 kB / 0.7508 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.006728, allocations: 0 / 0.7508 GB, free: 12.91 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 4.647e-05/0.006775, allocations: 118.5 kB / 0.751 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.184e-05/0.006786, allocations: 3.938 kB / 0.751 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.944e-05/0.006876, allocations: 121 kB / 0.7511 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.227e-05/0.006918, allocations: 180.2 kB / 0.7513 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.274e-05/0.006961, allocations: 182.1 kB / 0.7514 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.377e-05/0.007005, allocations: 180.2 kB / 0.7516 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001235/0.007128, allocations: 321.4 kB / 0.7519 GB, free: 11.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-05/0.007156, allocations: 101 kB / 0.752 GB, free: 11.65 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.745e-05/0.007183, allocations: 108.9 kB / 0.7521 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.053e-05/0.007214, allocations: 105.7 kB / 0.7522 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.154e-05/0.007255, allocations: 188.2 kB / 0.7524 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.646e-05/0.007302, allocations: 185 kB / 0.7526 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.025e-05/0.007342, allocations: 176.3 kB / 0.7527 GB, free: 10.87 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.395e-05/0.007386, allocations: 181.3 kB / 0.7529 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.433e-05/0.00748, allocations: 315.7 kB / 0.7532 GB, free: 10.35 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.486e-05/0.007535, allocations: 176.3 kB / 0.7534 GB, free: 10.17 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.491e-05/0.00762, allocations: 109.7 kB / 0.7535 GB, free: 10.06 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.226e-05/0.007662, allocations: 184.2 kB / 0.7537 GB, free: 9.871 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.581e-05/0.007688, allocations: 105.8 kB / 0.7538 GB, free: 9.762 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.407e-05/0.007702, allocations: 9.797 kB / 0.7538 GB, free: 9.75 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.007702, allocations: 0 / 0.7538 GB, free: 9.75 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001308/0.007833, allocations: 15.94 kB / 0.7538 GB, free: 9.734 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.0001367/0.00797, allocations: 173 kB / 0.7539 GB, free: 9.559 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 5.982e-05/0.008029, allocations: 26.16 kB / 0.754 GB, free: 9.531 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.008033, allocations: 0 / 0.754 GB, free: 9.531 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.344e-06/0.008035, allocations: 0 / 0.754 GB, free: 9.531 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002716/0.008307, allocations: 0.5128 MB / 0.7545 GB, free: 9.004 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006361/0.008943, allocations: 196.8 kB / 0.7547 GB, free: 8.785 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.838e-05/0.008971, allocations: 55.3 kB / 0.7547 GB, free: 8.711 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.498e-05/0.008996, allocations: 5.719 kB / 0.7547 GB, free: 8.707 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.649e-05/0.009053, allocations: 63.34 kB / 0.7548 GB, free: 8.645 MB / 0.7292 GB Notification: Performance of SimCode: time 5.81e-07/0.009054, allocations: 0.875 kB / 0.7548 GB, free: 8.645 MB / 0.7292 GB Notification: Performance of Templates: time 0.00202/0.01107, allocations: 0.7575 MB / 0.7555 GB, free: 7.926 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.878918556496501]