Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.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.001028/0.001028, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001438/0.002466, 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.0009614/0.0009614, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0014/0.002361, 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.932/0.932, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09303/1.025, 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/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.001672/0.001672, allocations: 222.2 kB / 244.4 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004016/0.005688, allocations: 479.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.7421/0.7421, allocations: 138.7 MB / 384.3 MB, free: 364 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07733/0.8194, allocations: 42.4 MB / 426.7 MB, free: 5.832 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.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterProperties") translateModel(BuildingSystems.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterProperties") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 428.1 MB, free: 4.457 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.876e-05/2.037e-05, allocations: 6.25 kB / 428.1 MB, free: 4.449 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterProperties): time 0.2006/0.2006, allocations: 4.923 MB / 433 MB, free: 1.219 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002136/0.2027, allocations: 2.85 MB / 435.9 MB, free: 0.8008 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.823e-05/0.2028, allocations: 1.562 kB / 435.9 MB, free: 0.8008 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001977/0.203, allocations: 51.89 kB / 435.9 MB, free: 0.7969 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001887/0.2032, allocations: 114.2 kB / 436 MB, free: 0.7539 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001047/0.2043, allocations: 0.5513 MB / 436.6 MB, free: 0.5508 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000248/0.2045, allocations: 248.6 kB / 436.8 MB, free: 480 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.49e-05/0.2046, allocations: 10.98 kB / 436.8 MB, free: 480 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002287/0.2048, allocations: 169.9 kB / 437 MB, free: 448 kB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.2049, allocations: 75.12 kB / 437.1 MB, free: 432 kB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.443e-05/0.2049, allocations: 8.312 kB / 437.1 MB, free: 432 kB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005549/0.2055, allocations: 346.6 kB / 437.4 MB, free: 360 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.39e-05/0.2056, allocations: 33.06 kB / 437.5 MB, free: 356 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.675e-05/0.2056, allocations: 51.72 kB / 437.5 MB, free: 348 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004476/0.2061, allocations: 318.8 kB / 437.8 MB, free: 280 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.373e-05/0.2061, allocations: 0 / 437.8 MB, free: 280 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2061, allocations: 2.031 kB / 437.8 MB, free: 280 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.225e-05/0.2061, allocations: 0 / 437.8 MB, free: 280 kB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006881/0.2068, allocations: 0.5475 MB / 438.4 MB, free: 15.87 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.2068, allocations: 10.12 kB / 438.4 MB, free: 15.87 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001381/0.2069, allocations: 41.83 kB / 438.4 MB, free: 15.86 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001735/0.2071, allocations: 151.6 kB / 438.6 MB, free: 15.72 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.2071, allocations: 11.88 kB / 438.6 MB, free: 15.72 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.472e-05/0.2072, allocations: 24.69 kB / 438.6 MB, free: 15.72 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000281/0.2074, allocations: 410 kB / 439 MB, free: 15.35 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.2074, allocations: 192 / 439 MB, free: 15.35 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.2075, allocations: 12.64 kB / 439 MB, free: 15.35 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.287e-05/0.2075, allocations: 9.938 kB / 439 MB, free: 15.35 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002427/0.2077, allocations: 240.7 kB / 439.3 MB, free: 15.34 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006629/0.2084, allocations: 0.695 MB / 440 MB, free: 14.82 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002013/0.2086, allocations: 153.1 kB / 440.1 MB, free: 14.74 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.461e-05/0.2086, allocations: 35.8 kB / 440.1 MB, free: 14.73 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005507/0.2092, allocations: 474.1 kB / 440.6 MB, free: 14.44 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.2092, allocations: 34.34 kB / 440.6 MB, free: 14.4 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 1.373e-06/0.2092, allocations: 0 / 440.6 MB, free: 14.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=15): time 0.0001853/0.2094, allocations: 140.8 kB / 440.8 MB, free: 14.32 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.551e-05/0.2094, allocations: 57.27 kB / 440.8 MB, free: 14.25 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.646e-05/0.2095, allocations: 158 kB / 441 MB, free: 14.13 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.2095, allocations: 32.08 kB / 441 MB, free: 14.1 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003275/0.2099, allocations: 150.2 kB / 441.2 MB, free: 13.96 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.846e-05/0.2099, allocations: 57.25 kB / 441.2 MB, free: 13.93 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.836e-05/0.2099, allocations: 52.05 kB / 441.3 MB, free: 13.9 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.565e-05/0.21, allocations: 326.1 kB / 441.6 MB, free: 13.58 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.929e-05/0.2101, allocations: 22.53 kB / 441.6 MB, free: 13.58 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.238e-05/0.2101, allocations: 130 kB / 441.7 MB, free: 13.44 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/0.2103, allocations: 199.8 kB / 441.9 MB, free: 13.28 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.2103, allocations: 1.188 kB / 441.9 MB, free: 13.28 MB / 426.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001778/0.2105, allocations: 161.4 kB / 442.1 MB, free: 13.22 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.2105, allocations: 7.25 kB / 442.1 MB, free: 13.22 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.2105, allocations: 4.188 kB / 442.1 MB, free: 13.22 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.2105, allocations: 6.375 kB / 442.1 MB, free: 13.22 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001668/0.2107, allocations: 67.89 kB / 442.2 MB, free: 13.22 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.2107, allocations: 5.734 kB / 442.2 MB, free: 13.22 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.79e-05/0.2107, allocations: 28.72 kB / 442.2 MB, free: 13.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.2108, allocations: 13.73 kB / 442.2 MB, free: 13.2 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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 7.465e-05/0.2108, allocations: 132.2 kB / 442.3 MB, free: 13.08 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.019e-05/0.2109, allocations: 16.98 kB / 442.4 MB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001696/0.211, allocations: 114.4 kB / 442.5 MB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/0.211, allocations: 1.812 kB / 442.5 MB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.211, allocations: 0.6094 kB / 442.5 MB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.211, allocations: 2.266 kB / 442.5 MB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001314/0.2112, allocations: 103.8 kB / 442.6 MB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.2112, allocations: 1.125 kB / 442.6 MB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001002/0.2113, allocations: 39.97 kB / 442.6 MB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.977e-05/0.2113, allocations: 28.14 kB / 442.6 MB, free: 12.94 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.2113, allocations: 1.844 kB / 442.7 MB, free: 12.94 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.2113, allocations: 10.44 kB / 442.7 MB, free: 12.94 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.2113, allocations: 1.781 kB / 442.7 MB, free: 12.94 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.2113, allocations: 0.5625 kB / 442.7 MB, free: 12.94 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001718/0.2115, allocations: 230.6 kB / 442.9 MB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.2115, allocations: 1.875 kB / 442.9 MB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.338e-05/0.2116, allocations: 9.875 kB / 442.9 MB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.441e-05/0.2116, allocations: 12.44 kB / 442.9 MB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.2117, allocations: 6.719 kB / 442.9 MB, free: 12.75 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.213e-05/0.2117, allocations: 35.81 kB / 443 MB, free: 12.74 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2117, allocations: 0.5938 kB / 443 MB, free: 12.74 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002765/0.212, allocations: 89.39 kB / 443 MB, free: 12.73 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0002746/0.2122, allocations: 167.5 kB / 443.2 MB, free: 12.64 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001405/0.2124, allocations: 99.27 kB / 443.3 MB, free: 12.61 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.252e-05/0.2124, allocations: 5.094 kB / 443.3 MB, free: 12.61 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.064e-05/0.2125, allocations: 52.58 kB / 443.4 MB, free: 12.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002556/0.2127, allocations: 153.2 kB / 443.5 MB, free: 12.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002814/0.2155, allocations: 341.6 kB / 443.8 MB, free: 12.29 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.984e-05/0.2156, allocations: 70.02 kB / 443.9 MB, free: 12.22 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001119/0.2157, allocations: 46.27 kB / 444 MB, free: 12.22 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001591/0.2158, allocations: 117.3 kB / 444.1 MB, free: 12.18 MB / 426.7 MB Notification: Performance of SimCode: time 7.21e-07/0.2158, allocations: 0 / 444.1 MB, free: 12.18 MB / 426.7 MB Notification: Performance of Templates: time 0.005452/0.2213, allocations: 3.522 MB / 447.6 MB, free: 11.32 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.sim & ./BuildingSystems_BuildingSystems.Media.Examples.WaterProperties -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.515706113539636]