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.0009655/0.0009655, allocations: 84.86 kB / 21.62 MB, free: 2.836 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.00102/0.00102, allocations: 163.2 kB / 25.05 MB, free: 9.148 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.9555/0.9555, allocations: 177.1 MB / 205.5 MB, free: 5.469 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 1.937/1.937, allocations: 389.6 MB / 0.6363 GB, free: 12.29 MB / 0.6042 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.402e-06/1.402e-06, allocations: 0 / 0.7761 GB, free: 5.305 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.204e-05/2.344e-05, allocations: 2.969 kB / 0.7761 GB, free: 5.301 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004479/0.004503, allocations: 4.227 MB / 0.7802 GB, free: 1.098 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0001567/0.004659, allocations: 157 kB / 0.7804 GB, free: 0.9453 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.53e-05/0.004685, allocations: 0 / 0.7804 GB, free: 0.9453 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001096/0.004794, allocations: 4.656 kB / 0.7804 GB, free: 0.9414 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.925e-05/0.004874, allocations: 17.42 kB / 0.7804 GB, free: 0.9258 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002851/0.005159, allocations: 88.67 kB / 0.7805 GB, free: 0.8398 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 7.775e-05/0.005236, allocations: 31.86 kB / 0.7805 GB, free: 0.8086 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.993e-05/0.005276, allocations: 8 kB / 0.7805 GB, free: 0.8008 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 4.96e-05/0.005326, allocations: 25.14 kB / 0.7805 GB, free: 0.7773 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.365e-05/0.00539, allocations: 7.938 kB / 0.7806 GB, free: 0.7695 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.22e-05/0.005402, allocations: 4 kB / 0.7806 GB, free: 0.7656 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001602/0.005562, allocations: 57.02 kB / 0.7806 GB, free: 0.7109 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.849e-05/0.0056, allocations: 4 kB / 0.7806 GB, free: 0.707 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.055e-05/0.005621, allocations: 12.86 kB / 0.7806 GB, free: 0.6953 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001143/0.005735, allocations: 67.73 kB / 0.7807 GB, free: 0.6289 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.005738, allocations: 0 / 0.7807 GB, free: 0.6289 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.92e-07/0.005738, allocations: 1.438 kB / 0.7807 GB, free: 0.6289 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.005743, allocations: 0 / 0.7807 GB, free: 0.6289 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.0002689/0.006012, allocations: 233 kB / 0.7809 GB, free: 388 kB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.006048, allocations: 14 kB / 0.7809 GB, free: 376 kB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.395e-05/0.006072, allocations: 0.9375 kB / 0.7809 GB, free: 376 kB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.654e-05/0.006149, allocations: 114.4 kB / 0.781 GB, free: 236 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.813e-05/0.006197, allocations: 51.97 kB / 0.7811 GB, free: 172 kB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.005e-06/0.006205, allocations: 6.094 kB / 0.7811 GB, free: 168 kB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.743e-05/0.006302, allocations: 83.45 kB / 0.7812 GB, free: 68 kB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.00631, allocations: 4.125 kB / 0.7812 GB, free: 64 kB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.424e-06/0.006317, allocations: 3.938 kB / 0.7812 GB, free: 60 kB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.753e-05/0.006335, allocations: 5.062 kB / 0.7812 GB, free: 56 kB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.662e-05/0.006351, allocations: 4 kB / 0.7812 GB, free: 52 kB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002516/0.006603, allocations: 158.6 kB / 0.7813 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 2.752e-05/0.006631, allocations: 18.58 kB / 0.7814 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.298e-06/0.00664, allocations: 10.05 kB / 0.7814 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.522e-05/0.006675, allocations: 8.062 kB / 0.7814 GB, free: 15.83 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.117e-05/0.006696, allocations: 38.94 kB / 0.7814 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 1.293e-06/0.006698, allocations: 0.875 kB / 0.7814 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 8.654e-05/0.006784, allocations: 37.62 kB / 0.7814 GB, free: 15.74 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.501e-05/0.006809, allocations: 56.28 kB / 0.7815 GB, free: 15.68 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.178e-05/0.006861, allocations: 106.7 kB / 0.7816 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.956e-06/0.00687, allocations: 26.27 kB / 0.7816 GB, free: 15.53 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.885e-05/0.006909, allocations: 88.03 kB / 0.7817 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.374e-06/0.006916, allocations: 9.766 kB / 0.7817 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.336e-05/0.006939, allocations: 21.7 kB / 0.7817 GB, free: 15.4 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.708e-05/0.007006, allocations: 310.8 kB / 0.782 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.941e-06/0.007012, allocations: 3.984 kB / 0.782 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.365e-05/0.007026, allocations: 18.75 kB / 0.7821 GB, free: 15.06 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.145e-05/0.007047, allocations: 20.55 kB / 0.7821 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.007049, allocations: 0.5 kB / 0.7821 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.23e-05/0.007091, allocations: 42.66 kB / 0.7821 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.007105, allocations: 11.94 kB / 0.7821 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.007109, allocations: 0.9375 kB / 0.7821 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.414e-06/0.007116, allocations: 0 / 0.7821 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.838e-05/0.007144, allocations: 8.516 kB / 0.7821 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.883e-06/0.007146, allocations: 0 / 0.7821 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.104e-05/0.007157, allocations: 4.938 kB / 0.7821 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.007164, allocations: 4 kB / 0.7822 GB, free: 14.96 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.67e-05/0.007211, allocations: 117.2 kB / 0.7823 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.449e-05/0.007225, allocations: 4.781 kB / 0.7823 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.948e-05/0.007305, allocations: 125.9 kB / 0.7824 GB, free: 14.7 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-05/0.007343, allocations: 180.3 kB / 0.7826 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.743e-05/0.007381, allocations: 184.2 kB / 0.7827 GB, free: 14.33 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-05/0.007419, allocations: 181.2 kB / 0.7829 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001215/0.00754, allocations: 321.4 kB / 0.7832 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.651e-05/0.007567, allocations: 105.8 kB / 0.7833 GB, free: 13.7 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.267e-05/0.00759, allocations: 105.3 kB / 0.7834 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.87e-05/0.007628, allocations: 180.2 kB / 0.7836 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.779e-05/0.007666, allocations: 178.3 kB / 0.7838 GB, free: 13.22 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-05/0.007706, allocations: 188.2 kB / 0.7839 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.815e-05/0.007744, allocations: 180.2 kB / 0.7841 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.15e-05/0.007836, allocations: 307.8 kB / 0.7844 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.11e-05/0.007867, allocations: 109 kB / 0.7845 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.593e-05/0.007913, allocations: 179 kB / 0.7847 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.226e-05/0.007995, allocations: 116.8 kB / 0.7848 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.535e-05/0.00804, allocations: 180.2 kB / 0.785 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.548e-05/0.008066, allocations: 108.9 kB / 0.7851 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.604e-05/0.008082, allocations: 16.84 kB / 0.7851 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.008082, allocations: 0 / 0.7851 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001433/0.008225, allocations: 15.94 kB / 0.7851 GB, free: 11.78 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.0001224/0.008347, allocations: 169.2 kB / 0.7853 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.061e-05/0.008408, allocations: 16.84 kB / 0.7853 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.008412, allocations: 0 / 0.7853 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.906e-06/0.008415, allocations: 8.875 kB / 0.7853 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002215/0.008636, allocations: 464.6 kB / 0.7857 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000316/0.008952, allocations: 188.5 kB / 0.7859 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.426e-05/0.008986, allocations: 55.34 kB / 0.786 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.731e-05/0.009014, allocations: 4.562 kB / 0.786 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.179e-05/0.009076, allocations: 60.2 kB / 0.786 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of SimCode: time 1.162e-06/0.009077, allocations: 0 / 0.786 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of Templates: time 0.002429/0.01151, allocations: 0.7473 MB / 0.7867 GB, free: 10.06 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 -lv LOG_STATS > Buildings_13_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.9655771823599935]