Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001099/0.001099, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001567/0.002665, allocations: 440 kB / 10.41 MB, free: 284 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.001096/0.001096, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001452/0.002548, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9902/0.9902, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09026/1.08, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001659/0.001659, allocations: 238.5 kB / 244.4 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004303/0.005962, allocations: 471.6 kB / 244.8 MB, free: 14.07 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6808/0.6808, allocations: 138.7 MB / 384.3 MB, free: 384 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07501/0.7558, allocations: 42.41 MB / 426.7 MB, free: 5.828 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.082e-06/1.082e-06, allocations: 0 / 428 MB, free: 4.504 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.067e-05/2.175e-05, allocations: 6.25 kB / 428 MB, free: 4.496 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004261/0.004283, allocations: 4.228 MB / 432.3 MB, free: 244 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000142/0.004425, allocations: 163.4 kB / 432.4 MB, free: 80 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.919e-05/0.004444, allocations: 0 / 432.4 MB, free: 80 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.526e-05/0.004509, allocations: 7.938 kB / 432.4 MB, free: 72 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 5.563e-05/0.004565, allocations: 15.91 kB / 432.5 MB, free: 56 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.221/0.2256, allocations: 80.44 kB / 432.5 MB, free: 1.285 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.306e-05/0.2256, allocations: 32.45 kB / 432.6 MB, free: 1.285 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.424e-05/0.2257, allocations: 4.141 kB / 432.6 MB, free: 1.285 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.464e-05/0.2258, allocations: 21.97 kB / 432.6 MB, free: 1.285 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.119e-05/0.2258, allocations: 12.67 kB / 432.6 MB, free: 1.285 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.288e-05/0.2258, allocations: 0.5469 kB / 432.6 MB, free: 1.285 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001893/0.226, allocations: 56.78 kB / 432.7 MB, free: 1.285 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.481e-05/0.2261, allocations: 5.203 kB / 432.7 MB, free: 1.285 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.507e-05/0.2261, allocations: 5.859 kB / 432.7 MB, free: 1.285 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001176/0.2262, allocations: 56.25 kB / 432.7 MB, free: 1.285 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.068e-05/0.2262, allocations: 1.156 kB / 432.7 MB, free: 1.285 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.2262, allocations: 1.203 kB / 432.7 MB, free: 1.285 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.738e-06/0.2262, allocations: 2.812 kB / 432.7 MB, free: 1.285 MB / 410.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.0003043/0.2265, allocations: 242.4 kB / 433 MB, free: 17.07 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.709e-05/0.2265, allocations: 12.34 kB / 433 MB, free: 17.07 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.859e-05/0.2266, allocations: 3.688 kB / 433 MB, free: 17.07 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.969e-05/0.2266, allocations: 109.9 kB / 433.1 MB, free: 16.94 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.445e-05/0.2267, allocations: 55.47 kB / 433.1 MB, free: 16.88 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.217e-05/0.2267, allocations: 3.031 kB / 433.2 MB, free: 16.88 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.924e-05/0.2268, allocations: 80.08 kB / 433.2 MB, free: 16.8 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.2268, allocations: 2.203 kB / 433.2 MB, free: 16.8 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.913e-06/0.2268, allocations: 8.922 kB / 433.2 MB, free: 16.79 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.225e-05/0.2268, allocations: 1.562 kB / 433.2 MB, free: 16.79 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.845e-05/0.2269, allocations: 8.719 kB / 433.3 MB, free: 16.79 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000228/0.2271, allocations: 159.5 kB / 433.4 MB, free: 16.64 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.336e-05/0.2271, allocations: 20.69 kB / 433.4 MB, free: 16.62 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.245e-06/0.2271, allocations: 7.797 kB / 433.4 MB, free: 16.61 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.984e-05/0.2271, allocations: 10.36 kB / 433.4 MB, free: 16.61 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.649e-05/0.2272, allocations: 34.59 kB / 433.5 MB, free: 16.57 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 1.233e-06/0.2272, allocations: 0 / 433.5 MB, free: 16.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 8.175e-05/0.2272, allocations: 39.09 kB / 433.5 MB, free: 16.54 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.038e-05/0.2273, allocations: 56.44 kB / 433.6 MB, free: 16.48 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.383e-05/0.2273, allocations: 109.1 kB / 433.7 MB, free: 16.37 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.127e-06/0.2273, allocations: 28.2 kB / 433.7 MB, free: 16.34 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.311e-05/0.2274, allocations: 87.83 kB / 433.8 MB, free: 16.25 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.849e-06/0.2274, allocations: 4.734 kB / 433.8 MB, free: 16.25 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.212e-05/0.2274, allocations: 18.09 kB / 433.8 MB, free: 16.24 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.033e-05/0.2275, allocations: 315.5 kB / 434.1 MB, free: 15.93 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.891e-06/0.2275, allocations: 2.156 kB / 434.1 MB, free: 15.93 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.334e-05/0.2275, allocations: 17.03 kB / 434.1 MB, free: 15.91 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.531e-05/0.2275, allocations: 22.56 kB / 434.2 MB, free: 15.89 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2275, allocations: 0 / 434.2 MB, free: 15.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.287e-05/0.2275, allocations: 44.78 kB / 434.2 MB, free: 15.86 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.2276, allocations: 10.34 kB / 434.2 MB, free: 15.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.2276, allocations: 0 / 434.2 MB, free: 15.86 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.2276, allocations: 1.969 kB / 434.2 MB, free: 15.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.081e-05/0.2276, allocations: 11.19 kB / 434.2 MB, free: 15.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.2276, allocations: 1.484 kB / 434.2 MB, free: 15.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.345e-05/0.2276, allocations: 9.234 kB / 434.2 MB, free: 15.85 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.2276, allocations: 2.75 kB / 434.2 MB, free: 15.85 MB / 426.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 4.791e-05/0.2277, allocations: 114.8 kB / 434.4 MB, free: 15.73 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.266e-05/0.2277, allocations: 1.781 kB / 434.4 MB, free: 15.73 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.975e-05/0.2278, allocations: 121.4 kB / 434.5 MB, free: 15.62 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.316e-05/0.2278, allocations: 181.2 kB / 434.7 MB, free: 15.44 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.839e-05/0.2279, allocations: 180.8 kB / 434.8 MB, free: 15.26 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.81e-05/0.2279, allocations: 181.7 kB / 435 MB, free: 15.08 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001212/0.228, allocations: 323.5 kB / 435.3 MB, free: 14.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.639e-05/0.2281, allocations: 106.9 kB / 435.4 MB, free: 14.64 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.692e-05/0.2281, allocations: 108.7 kB / 435.5 MB, free: 14.54 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.786e-05/0.2281, allocations: 104.6 kB / 435.6 MB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.861e-05/0.2281, allocations: 181.9 kB / 435.8 MB, free: 14.25 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.843e-05/0.2282, allocations: 184.5 kB / 436 MB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.694e-05/0.2282, allocations: 181.7 kB / 436.2 MB, free: 13.89 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.82e-05/0.2283, allocations: 182.2 kB / 436.3 MB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.415e-05/0.2283, allocations: 306.4 kB / 436.6 MB, free: 13.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.381e-05/0.2284, allocations: 181.9 kB / 436.8 MB, free: 13.22 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.329e-05/0.2285, allocations: 113 kB / 436.9 MB, free: 13.12 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.01e-05/0.2285, allocations: 185.2 kB / 437.1 MB, free: 12.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.132e-05/0.2285, allocations: 104.7 kB / 437.2 MB, free: 12.83 MB / 426.7 MB Notification: Performance of sorting global known variables: time 1.66e-05/0.2285, allocations: 11.34 kB / 437.2 MB, free: 12.82 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.2285, allocations: 1.219 kB / 437.2 MB, free: 12.82 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001418/0.2287, allocations: 18.45 kB / 437.2 MB, free: 12.82 MB / 426.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.000138/0.2288, allocations: 180.1 kB / 437.4 MB, free: 12.67 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 4.747e-05/0.2289, allocations: 11.72 kB / 437.4 MB, free: 12.66 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.209e-06/0.2289, allocations: 4.688 kB / 437.4 MB, free: 12.66 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2.865e-06/0.2289, allocations: 0.875 kB / 437.4 MB, free: 12.66 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002405/0.2291, allocations: 0.506 MB / 437.9 MB, free: 12.16 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006379/0.2298, allocations: 194.7 kB / 438.1 MB, free: 11.98 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.728e-05/0.2298, allocations: 54.92 kB / 438.2 MB, free: 11.91 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.783e-05/0.2298, allocations: 4.422 kB / 438.2 MB, free: 11.91 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.861e-05/0.2299, allocations: 67 kB / 438.3 MB, free: 11.86 MB / 426.7 MB Notification: Performance of SimCode: time 5.31e-07/0.2299, allocations: 0 / 438.3 MB, free: 11.86 MB / 426.7 MB Notification: Performance of Templates: time 0.002303/0.2322, allocations: 0.773 MB / 439 MB, free: 11.83 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.4713218668475747]