Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.000776/0.000776, allocations: 84.44 kB / 20.69 MB, free: 3.871 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.0007695/0.0007695, allocations: 170.3 kB / 23.97 MB, free: 0.5977 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.8436/0.8436, allocations: 177.1 MB / 204.3 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5377/0.5377, allocations: 114 MB / 374.7 MB, free: 8.715 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 0.5554 GB, free: 1.219 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.765e-05/2.917e-05, allocations: 6.281 kB / 0.5554 GB, free: 1.211 MB / 474.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004177/0.004206, allocations: 3.22 MB / 0.5586 GB, free: 13.97 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 8.926e-05/0.004295, allocations: 55.67 kB / 0.5586 GB, free: 13.92 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.478e-05/0.00432, allocations: 0 / 0.5586 GB, free: 13.92 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001105/0.004431, allocations: 8 kB / 0.5586 GB, free: 13.91 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.962e-05/0.00451, allocations: 11.91 kB / 0.5586 GB, free: 13.9 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005708/0.005081, allocations: 203 kB / 0.5588 GB, free: 13.7 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 8.567e-05/0.005167, allocations: 35.84 kB / 0.5589 GB, free: 13.66 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.952e-05/0.005206, allocations: 4 kB / 0.5589 GB, free: 13.66 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.177e-05/0.005258, allocations: 11.98 kB / 0.5589 GB, free: 13.65 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.45e-05/0.005332, allocations: 19.91 kB / 0.5589 GB, free: 13.63 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/0.005347, allocations: 0 / 0.5589 GB, free: 13.63 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002987/0.005646, allocations: 139.5 kB / 0.559 GB, free: 13.49 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.832e-05/0.005694, allocations: 7.938 kB / 0.559 GB, free: 13.48 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 2.44e-05/0.005718, allocations: 16 kB / 0.5591 GB, free: 13.47 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002205/0.005939, allocations: 127.7 kB / 0.5592 GB, free: 13.34 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.005942, allocations: 0 / 0.5592 GB, free: 13.34 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.005943, allocations: 0 / 0.5592 GB, free: 13.34 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.469e-06/0.005948, allocations: 0 / 0.5592 GB, free: 13.34 MB / 490.7 MB 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.0003621/0.00631, allocations: 279 kB / 0.5594 GB, free: 13.04 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.006348, allocations: 8.625 kB / 0.5594 GB, free: 13.04 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.054e-05/0.006388, allocations: 0.9375 kB / 0.5594 GB, free: 13.04 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.098e-05/0.006469, allocations: 113.7 kB / 0.5596 GB, free: 12.9 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.63e-05/0.006545, allocations: 51.97 kB / 0.5596 GB, free: 12.84 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.071e-05/0.006556, allocations: 8.375 kB / 0.5596 GB, free: 12.83 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.006683, allocations: 67.95 kB / 0.5597 GB, free: 12.75 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.00669, allocations: 192 / 0.5597 GB, free: 12.75 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/0.006702, allocations: 3.938 kB / 0.5597 GB, free: 12.75 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.866e-05/0.006721, allocations: 0 / 0.5597 GB, free: 12.75 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.991e-05/0.00676, allocations: 19.92 kB / 0.5597 GB, free: 12.73 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004484/0.007209, allocations: 240.5 kB / 0.5599 GB, free: 12.46 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.966e-05/0.007249, allocations: 14.58 kB / 0.5599 GB, free: 12.44 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.489e-05/0.007263, allocations: 12.86 kB / 0.56 GB, free: 12.42 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.338e-05/0.007327, allocations: 35.97 kB / 0.56 GB, free: 12.39 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.007348, allocations: 38.5 kB / 0.56 GB, free: 12.34 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.133e-06/0.007349, allocations: 0 / 0.56 GB, free: 12.34 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001637/0.007513, allocations: 41.62 kB / 0.5601 GB, free: 12.29 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.071e-05/0.007543, allocations: 51.41 kB / 0.5601 GB, free: 12.23 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.399e-05/0.007617, allocations: 97.86 kB / 0.5602 GB, free: 12.12 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.189e-05/0.007629, allocations: 25.7 kB / 0.5602 GB, free: 12.09 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.763e-05/0.007677, allocations: 92.08 kB / 0.5603 GB, free: 12 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.155e-06/0.007685, allocations: 7.953 kB / 0.5603 GB, free: 11.99 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.105e-05/0.007716, allocations: 13.72 kB / 0.5603 GB, free: 11.97 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.575e-05/0.007812, allocations: 311 kB / 0.5606 GB, free: 11.66 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.838e-05/0.00783, allocations: 12 kB / 0.5607 GB, free: 11.65 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.473e-05/0.007855, allocations: 17.7 kB / 0.5607 GB, free: 11.62 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.683e-05/0.007902, allocations: 25.66 kB / 0.5607 GB, free: 11.59 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.007904, allocations: 0 / 0.5607 GB, free: 11.59 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.712e-05/0.007982, allocations: 49.56 kB / 0.5607 GB, free: 11.54 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.007997, allocations: 4 kB / 0.5607 GB, free: 11.54 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.008004, allocations: 4 kB / 0.5607 GB, free: 11.53 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.008021, allocations: 0 / 0.5607 GB, free: 11.53 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.207e-05/0.008073, allocations: 8.062 kB / 0.5608 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.008079, allocations: 0 / 0.5608 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.557e-05/0.008094, allocations: 8 kB / 0.5608 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.008104, allocations: 0 / 0.5608 GB, free: 11.52 MB / 490.7 MB 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 6.143e-05/0.008166, allocations: 117.8 kB / 0.5609 GB, free: 11.39 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.673e-05/0.008182, allocations: 3.938 kB / 0.5609 GB, free: 11.39 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001197/0.008302, allocations: 128.3 kB / 0.561 GB, free: 11.25 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.786e-05/0.00835, allocations: 180.2 kB / 0.5612 GB, free: 11.07 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.578e-05/0.008406, allocations: 180.3 kB / 0.5613 GB, free: 10.88 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.957e-05/0.008455, allocations: 192.1 kB / 0.5615 GB, free: 10.69 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001496/0.008605, allocations: 356.9 kB / 0.5619 GB, free: 10.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.768e-05/0.008633, allocations: 104.9 kB / 0.562 GB, free: 10.19 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.354e-05/0.008656, allocations: 101 kB / 0.5621 GB, free: 10.09 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.59e-05/0.008702, allocations: 184.2 kB / 0.5622 GB, free: 9.898 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.593e-05/0.008748, allocations: 184.2 kB / 0.5624 GB, free: 9.711 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.154e-05/0.00879, allocations: 176.3 kB / 0.5626 GB, free: 9.531 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.078e-05/0.00884, allocations: 192.2 kB / 0.5628 GB, free: 9.336 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001109/0.008951, allocations: 299.8 kB / 0.5631 GB, free: 9.02 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.83e-05/0.008989, allocations: 116.8 kB / 0.5632 GB, free: 8.898 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.602e-05/0.009045, allocations: 180.2 kB / 0.5633 GB, free: 8.715 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001101/0.009156, allocations: 116.9 kB / 0.5634 GB, free: 8.594 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.164e-05/0.009207, allocations: 176.3 kB / 0.5636 GB, free: 8.414 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.784e-05/0.009235, allocations: 105 kB / 0.5637 GB, free: 8.305 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.671e-05/0.009282, allocations: 83.27 kB / 0.5638 GB, free: 8.223 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009282, allocations: 3.938 kB / 0.5638 GB, free: 8.219 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002953/0.009577, allocations: 35.88 kB / 0.5638 GB, free: 8.184 MB / 490.7 MB 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.000235/0.009812, allocations: 238.1 kB / 0.5641 GB, free: 7.945 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 7.053e-05/0.009883, allocations: 8 kB / 0.5641 GB, free: 7.938 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.009885, allocations: 0 / 0.5641 GB, free: 7.938 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.403e-06/0.009886, allocations: 0 / 0.5641 GB, free: 7.938 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.01022, allocations: 461.4 kB / 0.5645 GB, free: 7.484 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002583/0.01048, allocations: 213.9 kB / 0.5647 GB, free: 7.242 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.592e-05/0.01052, allocations: 63.2 kB / 0.5648 GB, free: 7.16 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.572e-05/0.01055, allocations: 12.5 kB / 0.5648 GB, free: 7.148 MB / 490.7 MB Notification: Performance of SimCode: time 3.81e-07/0.01055, allocations: 0 / 0.5648 GB, free: 7.148 MB / 490.7 MB Notification: Performance of Templates: time 0.002466/0.01301, allocations: 1.215 MB / 0.566 GB, free: 5.949 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.990306533873081] Failed to read output from testmodel.py, exit status != 0: 0.018604429438710213 0.027123442 0.019286689000000003 Calling exit ...