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.001068/0.001068, allocations: 80.92 kB / 20.75 MB, free: 3.742 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.001016/0.001016, allocations: 161 kB / 24.17 MB, free: 332 kB / 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.9775/0.9775, allocations: 177.2 MB / 204.6 MB, free: 5.48 MB / 186.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 2.008/2.008, allocations: 389.6 MB / 0.6354 GB, free: 12.27 MB / 0.6042 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.182e-06/1.182e-06, allocations: 0 / 0.7752 GB, free: 5.438 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.448e-05/1.566e-05, allocations: 6.047 kB / 0.7752 GB, free: 5.434 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.003988/0.004004, allocations: 4.231 MB / 0.7793 GB, free: 1.23 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0001337/0.004138, allocations: 163.4 kB / 0.7795 GB, free: 1.074 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.214e-05/0.00416, allocations: 0 / 0.7795 GB, free: 1.074 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 9.247e-05/0.004252, allocations: 3.938 kB / 0.7795 GB, free: 1.07 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.605e-05/0.004318, allocations: 15.92 kB / 0.7795 GB, free: 1.055 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002267/0.004545, allocations: 90.86 kB / 0.7796 GB, free: 0.9688 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 6.627e-05/0.004611, allocations: 35.84 kB / 0.7796 GB, free: 0.9336 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.3e-05/0.004644, allocations: 4 kB / 0.7796 GB, free: 0.9297 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 4.374e-05/0.004688, allocations: 11.98 kB / 0.7796 GB, free: 0.918 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 7.195e-05/0.00476, allocations: 19.91 kB / 0.7796 GB, free: 0.8984 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 9.999e-06/0.00477, allocations: 0 / 0.7796 GB, free: 0.8984 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001335/0.004904, allocations: 59.75 kB / 0.7797 GB, free: 0.8398 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.471e-05/0.004938, allocations: 7.922 kB / 0.7797 GB, free: 0.832 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.538e-05/0.004954, allocations: 12.55 kB / 0.7797 GB, free: 0.8203 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 9.839e-05/0.005052, allocations: 60.41 kB / 0.7798 GB, free: 0.7617 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.333e-06/0.005053, allocations: 0 / 0.7798 GB, free: 0.7617 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.21e-07/0.005054, allocations: 0.7188 kB / 0.7798 GB, free: 0.7617 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.936e-06/0.005057, allocations: 0 / 0.7798 GB, free: 0.7617 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.0002223/0.005279, allocations: 233.5 kB / 0.78 GB, free: 0.5117 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.988e-05/0.005309, allocations: 9.344 kB / 0.78 GB, free: 0.5039 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.642e-05/0.005335, allocations: 10.62 kB / 0.78 GB, free: 0.4961 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.297e-05/0.005408, allocations: 118 kB / 0.7801 GB, free: 364 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.358e-05/0.005452, allocations: 51.97 kB / 0.7802 GB, free: 300 kB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.903e-06/0.005459, allocations: 384 / 0.7802 GB, free: 300 kB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.327e-05/0.005552, allocations: 80.17 kB / 0.7802 GB, free: 204 kB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.005559, allocations: 192 / 0.7802 GB, free: 204 kB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-06/0.005566, allocations: 4.812 kB / 0.7803 GB, free: 200 kB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.729e-05/0.005584, allocations: 3.984 kB / 0.7803 GB, free: 196 kB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.62e-05/0.0056, allocations: 5.75 kB / 0.7803 GB, free: 192 kB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002303/0.00583, allocations: 162 kB / 0.7804 GB, free: 12 kB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.529e-05/0.005865, allocations: 22.58 kB / 0.7804 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.026e-05/0.005876, allocations: 12.84 kB / 0.7804 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.489e-05/0.00591, allocations: 5.594 kB / 0.7805 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.005931, allocations: 38.5 kB / 0.7805 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 1.183e-06/0.005932, allocations: 0 / 0.7805 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 8.411e-05/0.006016, allocations: 38.44 kB / 0.7805 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.119e-05/0.006037, allocations: 51.41 kB / 0.7806 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.974e-05/0.006087, allocations: 103.6 kB / 0.7807 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.014e-05/0.006097, allocations: 25.7 kB / 0.7807 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.258e-05/0.00613, allocations: 92.62 kB / 0.7808 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.129e-06/0.006135, allocations: 3.938 kB / 0.7808 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.19e-05/0.006157, allocations: 22.45 kB / 0.7808 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.216e-05/0.006229, allocations: 314.8 kB / 0.7811 GB, free: 15.22 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.368e-06/0.006233, allocations: 1.094 kB / 0.7811 GB, free: 15.22 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.543e-05/0.006249, allocations: 17.89 kB / 0.7811 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.282e-05/0.006272, allocations: 21.95 kB / 0.7812 GB, free: 15.17 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.006273, allocations: 0 / 0.7812 GB, free: 15.17 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.014e-05/0.006313, allocations: 42.72 kB / 0.7812 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.044e-05/0.006324, allocations: 7.938 kB / 0.7812 GB, free: 15.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.738e-06/0.006329, allocations: 3.984 kB / 0.7812 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.006341, allocations: 5.062 kB / 0.7812 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.508e-05/0.006366, allocations: 4 kB / 0.7812 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.456e-06/0.00637, allocations: 8.422 kB / 0.7812 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.028e-05/0.00638, allocations: 0 / 0.7812 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.006387, allocations: 4.781 kB / 0.7812 GB, free: 15.09 MB / 0.7448 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.507e-05/0.006432, allocations: 117.6 kB / 0.7813 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.549e-05/0.006447, allocations: 11.88 kB / 0.7813 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.311e-05/0.00652, allocations: 118 kB / 0.7815 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.052e-05/0.006561, allocations: 192.2 kB / 0.7816 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.995e-05/0.006601, allocations: 177.3 kB / 0.7818 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.686e-05/0.006638, allocations: 184.3 kB / 0.782 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001146/0.006752, allocations: 321.4 kB / 0.7823 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.161e-05/0.006774, allocations: 102.1 kB / 0.7824 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.161e-05/0.006795, allocations: 104.9 kB / 0.7825 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.632e-05/0.006832, allocations: 176.3 kB / 0.7827 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.942e-05/0.006871, allocations: 181.2 kB / 0.7828 GB, free: 13.35 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-05/0.00691, allocations: 184.1 kB / 0.783 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.371e-05/0.006954, allocations: 184.2 kB / 0.7832 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.286e-05/0.007037, allocations: 304.5 kB / 0.7835 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.756e-05/0.007065, allocations: 113.6 kB / 0.7836 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.45e-05/0.007109, allocations: 180.3 kB / 0.7838 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.827e-05/0.007187, allocations: 109.5 kB / 0.7839 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.298e-05/0.00723, allocations: 180.2 kB / 0.784 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.219e-05/0.007253, allocations: 102.1 kB / 0.7841 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.499e-05/0.007268, allocations: 16.84 kB / 0.7841 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.007268, allocations: 0 / 0.7841 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001313/0.007399, allocations: 21.38 kB / 0.7842 GB, free: 11.91 MB / 0.7448 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.0001131/0.007512, allocations: 167.6 kB / 0.7843 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 4.822e-05/0.00756, allocations: 14.36 kB / 0.7843 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.007564, allocations: 4 kB / 0.7843 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.445e-06/0.007567, allocations: 4 kB / 0.7843 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002117/0.007779, allocations: 469.2 kB / 0.7848 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002932/0.008072, allocations: 191.4 kB / 0.785 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.681e-05/0.008099, allocations: 51.36 kB / 0.785 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.332e-05/0.008122, allocations: 9.641 kB / 0.785 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.334e-05/0.008175, allocations: 61.08 kB / 0.7851 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of SimCode: time 4.51e-07/0.008176, allocations: 0 / 0.7851 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of Templates: time 0.002036/0.01021, allocations: 0.7351 MB / 0.7858 GB, free: 10.21 MB / 0.7448 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.9974183440208435]