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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001575/0.001575, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001698/0.001698, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 225.6 MB / 249.4 MB, free: 3.141 MB / 190.1 MB " [Timeout remaining time 178] 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.002834/0.002834, allocations: 292.4 kB / 304.8 MB, free: 3.531 MB / 238.1 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 1.063/1.063, allocations: 180.9 MB / 0.5282 GB, free: 1.883 MB / 382.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002843/0.002843, allocations: 95.84 kB / 0.7284 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4814/0.4843, allocations: 94.15 MB / 0.8203 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterProperties): time 0.006555/0.4908, allocations: 4.78 MB / 0.825 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003243/0.4941, allocations: 2.716 MB / 0.8276 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.622e-05/0.4941, allocations: 1.438 kB / 0.8276 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002616/0.4944, allocations: 50.86 kB / 0.8277 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002701/0.4947, allocations: 92.86 kB / 0.8278 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001216/0.4959, allocations: 0.5199 MB / 0.8283 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002823/0.4962, allocations: 232.6 kB / 0.8285 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.503e-05/0.4962, allocations: 14.72 kB / 0.8285 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001951/0.4964, allocations: 121.3 kB / 0.8286 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001398/0.4966, allocations: 90.16 kB / 0.8287 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.277e-05/0.4966, allocations: 8.25 kB / 0.8287 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007001/0.4973, allocations: 374 kB / 0.8291 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.249e-05/0.4974, allocations: 38.48 kB / 0.8291 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.017e-05/0.4974, allocations: 75.84 kB / 0.8292 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000574/0.498, allocations: 368.6 kB / 0.8295 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.498, allocations: 0 / 0.8295 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.292e-06/0.498, allocations: 0 / 0.8295 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.498, allocations: 0 / 0.8295 GB, free: 13.39 MB / 0.5762 GB 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.0007949/0.4988, allocations: 0.5077 MB / 0.83 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.4989, allocations: 9.562 kB / 0.83 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000168/0.499, allocations: 22.66 kB / 0.8301 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003177/0.4993, allocations: 221.2 kB / 0.8303 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/0.4994, allocations: 15.59 kB / 0.8303 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.514e-05/0.4994, allocations: 17.59 kB / 0.8303 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004165/0.4998, allocations: 249.9 kB / 0.8305 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.4998, allocations: 1.5 kB / 0.8305 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.718e-05/0.4998, allocations: 6.875 kB / 0.8306 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.125e-05/0.4999, allocations: 8.172 kB / 0.8306 GB, free: 12.46 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005335/0.5004, allocations: 426.1 kB / 0.831 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001289/0.5017, allocations: 0.9535 MB / 0.8319 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003105/0.502, allocations: 151.2 kB / 0.832 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001201/0.5021, allocations: 61.73 kB / 0.8321 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001781/0.5039, allocations: 1.822 MB / 0.8339 GB, free: 9.133 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.492e-05/0.5039, allocations: 37.41 kB / 0.8339 GB, free: 9.09 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.283e-06/0.504, allocations: 4 kB / 0.8339 GB, free: 9.086 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0003481/0.5043, allocations: 147.8 kB / 0.8341 GB, free: 9.004 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.5043, allocations: 56.62 kB / 0.8341 GB, free: 8.938 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/0.5045, allocations: 165.9 kB / 0.8343 GB, free: 8.797 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.79e-05/0.5045, allocations: 31.98 kB / 0.8343 GB, free: 8.762 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.961e-05/0.5046, allocations: 138.7 kB / 0.8344 GB, free: 8.629 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.165e-05/0.5047, allocations: 58.89 kB / 0.8345 GB, free: 8.578 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.854e-05/0.5048, allocations: 53.22 kB / 0.8345 GB, free: 8.539 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.5049, allocations: 330.5 kB / 0.8349 GB, free: 8.211 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.349e-05/0.505, allocations: 40.72 kB / 0.8349 GB, free: 8.191 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001574/0.5052, allocations: 142.5 kB / 0.835 GB, free: 8.035 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002469/0.5054, allocations: 195.9 kB / 0.8352 GB, free: 7.852 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.5054, allocations: 1.312 kB / 0.8352 GB, free: 7.852 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003268/0.5057, allocations: 222.5 kB / 0.8354 GB, free: 7.73 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.5058, allocations: 7.156 kB / 0.8354 GB, free: 7.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.5058, allocations: 7.969 kB / 0.8355 GB, free: 7.727 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.5058, allocations: 5 kB / 0.8355 GB, free: 7.727 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001721/0.506, allocations: 60.55 kB / 0.8355 GB, free: 7.707 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.462e-05/0.506, allocations: 9.141 kB / 0.8355 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/0.5061, allocations: 28.91 kB / 0.8356 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.894e-05/0.5061, allocations: 12.59 kB / 0.8356 GB, free: 7.684 MB / 0.5762 GB 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 0.0001244/0.5062, allocations: 130.4 kB / 0.8357 GB, free: 7.555 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.963e-05/0.5063, allocations: 14.28 kB / 0.8357 GB, free: 7.547 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003057/0.5066, allocations: 161.7 kB / 0.8359 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.226e-05/0.5066, allocations: 5.281 kB / 0.8359 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.5066, allocations: 0 / 0.8359 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.5066, allocations: 1.281 kB / 0.8359 GB, free: 7.438 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002727/0.5069, allocations: 221.9 kB / 0.8361 GB, free: 7.199 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.5069, allocations: 0 / 0.8361 GB, free: 7.199 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.328e-05/0.507, allocations: 18.62 kB / 0.8361 GB, free: 7.199 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.507, allocations: 1.469 kB / 0.8361 GB, free: 7.199 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.507, allocations: 9.422 kB / 0.8361 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-05/0.507, allocations: 5.531 kB / 0.8361 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.507, allocations: 0 / 0.8361 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002567/0.5072, allocations: 226.2 kB / 0.8363 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/0.5074, allocations: 105.8 kB / 0.8364 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.866e-05/0.5074, allocations: 5.578 kB / 0.8364 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002003/0.5076, allocations: 15.25 kB / 0.8364 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.759e-05/0.5076, allocations: 10.39 kB / 0.8365 GB, free: 6.879 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.84e-05/0.5077, allocations: 13.64 kB / 0.8365 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001068/0.5078, allocations: 125.6 kB / 0.8366 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5078, allocations: 0 / 0.8366 GB, free: 6.773 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004301/0.5082, allocations: 78.39 kB / 0.8367 GB, free: 6.754 MB / 0.5762 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 (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.0003493/0.5085, allocations: 184 kB / 0.8368 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002316/0.5088, allocations: 115.8 kB / 0.8369 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.5088, allocations: 3.219 kB / 0.8369 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 6.606e-05/0.5088, allocations: 39.17 kB / 0.837 GB, free: 6.555 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004439/0.5093, allocations: 52.16 kB / 0.837 GB, free: 6.527 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007321/0.51, allocations: 353.1 kB / 0.8374 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004339/0.5104, allocations: 0.7168 MB / 0.8381 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001544/0.5106, allocations: 46.12 kB / 0.8381 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.523e-05/0.5106, allocations: 25.75 kB / 0.8381 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of SimCode: time 3.9e-07/0.5106, allocations: 0 / 0.8381 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of Templates: time 0.007638/0.5183, allocations: 3.53 MB / 0.8416 GB, free: 3.75 MB / 0.5762 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.434597050771117]