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.001157/0.001157, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001772/0.002929, allocations: 435.8 kB / 10.33 MB, free: 368 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.001219/0.001219, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00155/0.002769, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9616/0.9616, allocations: 177.2 MB / 189.6 MB, free: 5.332 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08809/1.05, allocations: 53.66 MB / 243.2 MB, free: 15.6 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.001321/0.001321, allocations: 231.8 kB / 244.2 MB, free: 14.66 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001245/0.002566, allocations: 478.9 kB / 244.7 MB, free: 14.19 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.7266/0.7266, allocations: 138.7 MB / 384.1 MB, free: 0.4961 MB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07728/0.8039, allocations: 42.4 MB / 426.5 MB, free: 5.957 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.623e-06/1.623e-06, allocations: 0 / 427.8 MB, free: 4.605 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.865e-05/2.027e-05, allocations: 2.312 kB / 427.8 MB, free: 4.602 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterProperties): time 0.212/0.2121, allocations: 4.917 MB / 432.7 MB, free: 1.191 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002318/0.2144, allocations: 2.857 MB / 435.6 MB, free: 0.8594 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.121e-05/0.2145, allocations: 2.438 kB / 435.6 MB, free: 0.8594 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002046/0.2147, allocations: 48.86 kB / 435.7 MB, free: 0.8555 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002162/0.2149, allocations: 108.9 kB / 435.8 MB, free: 0.8203 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001086/0.216, allocations: 0.5518 MB / 436.3 MB, free: 0.6211 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002488/0.2162, allocations: 245.6 kB / 436.6 MB, free: 0.543 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.141e-05/0.2163, allocations: 14.19 kB / 436.6 MB, free: 0.543 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002308/0.2165, allocations: 171.2 kB / 436.7 MB, free: 0.5117 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001206/0.2166, allocations: 78.95 kB / 436.8 MB, free: 0.4922 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.2166, allocations: 8.688 kB / 436.8 MB, free: 0.4922 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005653/0.2172, allocations: 342.6 kB / 437.2 MB, free: 436 kB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.092e-05/0.2173, allocations: 23.53 kB / 437.2 MB, free: 432 kB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.084e-05/0.2173, allocations: 53 kB / 437.2 MB, free: 424 kB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000477/0.2178, allocations: 324.8 kB / 437.5 MB, free: 352 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.666e-05/0.2178, allocations: 0 / 437.5 MB, free: 352 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.2178, allocations: 1.125 kB / 437.5 MB, free: 352 kB / 410.7 MB Notification: Performance of Transformations before backend: time 1.983e-05/0.2178, allocations: 2.094 kB / 437.5 MB, free: 352 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.0007946/0.2186, allocations: 0.5483 MB / 438.1 MB, free: 15.94 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.2187, allocations: 10.5 kB / 438.1 MB, free: 15.94 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001458/0.2188, allocations: 41.09 kB / 438.1 MB, free: 15.93 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001868/0.219, allocations: 147 kB / 438.3 MB, free: 15.79 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.219, allocations: 13.61 kB / 438.3 MB, free: 15.79 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.992e-05/0.219, allocations: 21.69 kB / 438.3 MB, free: 15.79 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002671/0.2193, allocations: 410.6 kB / 438.7 MB, free: 15.43 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.2193, allocations: 192 / 438.7 MB, free: 15.43 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.2193, allocations: 8.594 kB / 438.7 MB, free: 15.43 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.508e-05/0.2194, allocations: 9.938 kB / 438.7 MB, free: 15.42 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002709/0.2196, allocations: 249.8 kB / 439 MB, free: 15.41 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006828/0.2203, allocations: 0.6881 MB / 439.7 MB, free: 14.89 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001969/0.2205, allocations: 159.6 kB / 439.8 MB, free: 14.81 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.246e-05/0.2206, allocations: 34.62 kB / 439.9 MB, free: 14.8 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005018/0.2211, allocations: 467.9 kB / 440.3 MB, free: 14.51 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.2211, allocations: 38.69 kB / 440.4 MB, free: 14.47 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 8.92e-07/0.2211, allocations: 1.438 kB / 440.4 MB, free: 14.47 MB / 426.7 MB Notification: Performance of matching and sorting (n=15): time 0.0001706/0.2213, allocations: 140.2 kB / 440.5 MB, free: 14.39 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.76e-05/0.2213, allocations: 53.84 kB / 440.6 MB, free: 14.33 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.2214, allocations: 161.3 kB / 440.7 MB, free: 14.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.2214, allocations: 32.33 kB / 440.7 MB, free: 14.17 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.371e-05/0.2215, allocations: 147.3 kB / 440.9 MB, free: 14.04 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.793e-05/0.2215, allocations: 59.11 kB / 440.9 MB, free: 14 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.072e-05/0.2215, allocations: 53.97 kB / 441 MB, free: 13.97 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.446e-05/0.2216, allocations: 323.4 kB / 441.3 MB, free: 13.66 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.935e-05/0.2216, allocations: 22.42 kB / 441.3 MB, free: 13.65 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.002e-05/0.2217, allocations: 131 kB / 441.5 MB, free: 13.52 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001409/0.2219, allocations: 183 kB / 441.6 MB, free: 13.36 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.2219, allocations: 1.344 kB / 441.6 MB, free: 13.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001678/0.222, allocations: 163.5 kB / 441.8 MB, free: 13.3 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.2221, allocations: 8.547 kB / 441.8 MB, free: 13.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.2221, allocations: 3.5 kB / 441.8 MB, free: 13.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.2221, allocations: 7.25 kB / 441.8 MB, free: 13.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001705/0.2222, allocations: 72.02 kB / 441.9 MB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.2222, allocations: 6.953 kB / 441.9 MB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.763e-05/0.2223, allocations: 30.77 kB / 441.9 MB, free: 13.28 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.2223, allocations: 6.844 kB / 441.9 MB, free: 13.28 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 8.13e-05/0.2224, allocations: 135.4 kB / 442.1 MB, free: 13.15 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.119e-05/0.2224, allocations: 22.73 kB / 442.1 MB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001668/0.2226, allocations: 110 kB / 442.2 MB, free: 13.11 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.729e-06/0.2226, allocations: 3.672 kB / 442.2 MB, free: 13.11 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.2226, allocations: 0.5625 kB / 442.2 MB, free: 13.11 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.2226, allocations: 1.703 kB / 442.2 MB, free: 13.11 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001348/0.2228, allocations: 104.4 kB / 442.3 MB, free: 13.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.2228, allocations: 0.5938 kB / 442.3 MB, free: 13.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.188e-05/0.2228, allocations: 41.78 kB / 442.3 MB, free: 13.02 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.511e-05/0.2229, allocations: 28.28 kB / 442.4 MB, free: 13.01 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.2229, allocations: 1.438 kB / 442.4 MB, free: 13.01 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.2229, allocations: 2.734 kB / 442.4 MB, free: 13.01 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.2229, allocations: 5.406 kB / 442.4 MB, free: 13.01 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.2229, allocations: 0.6875 kB / 442.4 MB, free: 13.01 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001621/0.2231, allocations: 229.1 kB / 442.6 MB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.5e-05/0.2231, allocations: 6.234 kB / 442.6 MB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.474e-05/0.2232, allocations: 10.8 kB / 442.6 MB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.074e-05/0.2232, allocations: 12.53 kB / 442.6 MB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/0.2232, allocations: 5.312 kB / 442.6 MB, free: 12.82 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.808e-05/0.2232, allocations: 37.72 kB / 442.7 MB, free: 12.81 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.2232, allocations: 0 / 442.7 MB, free: 12.81 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002864/0.2235, allocations: 83.98 kB / 442.8 MB, free: 12.8 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.0002697/0.2238, allocations: 168 kB / 442.9 MB, free: 12.71 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001464/0.2239, allocations: 102.4 kB / 443 MB, free: 12.68 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.33e-05/0.224, allocations: 7.875 kB / 443 MB, free: 12.68 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.471e-05/0.224, allocations: 33.42 kB / 443.1 MB, free: 12.68 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000229/0.2242, allocations: 65.09 kB / 443.1 MB, free: 12.67 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002809/0.227, allocations: 351.2 kB / 443.5 MB, free: 12.46 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.264e-05/0.2271, allocations: 67.7 kB / 443.5 MB, free: 12.39 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001092/0.2272, allocations: 42.8 kB / 443.6 MB, free: 12.39 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001559/0.2273, allocations: 120.9 kB / 443.7 MB, free: 12.34 MB / 426.7 MB Notification: Performance of SimCode: time 6.41e-07/0.2273, allocations: 1.156 kB / 443.7 MB, free: 12.34 MB / 426.7 MB Notification: Performance of Templates: time 0.005711/0.2331, allocations: 3.595 MB / 447.3 MB, free: 11.49 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.554992222227156]