Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.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.001454/0.001454, allocations: 120.3 kB / 17.13 MB, free: 5.918 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.00148/0.00148, allocations: 191.7 kB / 20.08 MB, free: 2.988 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.339/1.339, allocations: 225.6 MB / 248.5 MB, free: 3.633 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.002519/0.002519, allocations: 285.1 kB / 303.6 MB, free: 3.746 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 0.9981/0.9981, allocations: 180.9 MB / 0.5268 GB, free: 2.695 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.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck") translateModel(BuildingSystems.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002717/0.002717, allocations: 103.8 kB / 0.7259 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.465/0.4677, allocations: 94.16 MB / 0.8178 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterDerivativeCheck): time 0.001971/0.4696, allocations: 1.262 MB / 0.8191 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002652/0.4723, allocations: 3.28 MB / 0.8223 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.25e-05/0.4723, allocations: 0 / 0.8223 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.608e-05/0.4723, allocations: 1.344 kB / 0.8223 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.718e-05/0.4724, allocations: 7.172 kB / 0.8223 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004097/0.4728, allocations: 110.6 kB / 0.8224 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.761e-05/0.4728, allocations: 40.34 kB / 0.8224 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 2.974e-05/0.4729, allocations: 2.906 kB / 0.8224 GB, free: 4.074 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.77e-05/0.4729, allocations: 15.84 kB / 0.8224 GB, free: 4.07 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.627e-05/0.473, allocations: 22.72 kB / 0.8225 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.929e-06/0.473, allocations: 1.156 kB / 0.8225 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002057/0.4732, allocations: 79.16 kB / 0.8225 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.506e-05/0.4732, allocations: 12.53 kB / 0.8225 GB, free: 4.02 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.738e-05/0.4732, allocations: 19.97 kB / 0.8226 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001667/0.4734, allocations: 72.25 kB / 0.8226 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.4734, allocations: 1.562 kB / 0.8226 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.182e-06/0.4734, allocations: 0 / 0.8226 GB, free: 3.988 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.4734, allocations: 0 / 0.8226 GB, free: 3.988 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002971/0.4737, allocations: 351.2 kB / 0.823 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.4737, allocations: 8.938 kB / 0.823 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.882e-05/0.4738, allocations: 5.984 kB / 0.823 GB, free: 3.621 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.477e-05/0.4739, allocations: 162.9 kB / 0.8231 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.4739, allocations: 9.969 kB / 0.8231 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.468e-05/0.4739, allocations: 8.125 kB / 0.8232 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/0.474, allocations: 57.56 kB / 0.8232 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.474, allocations: 0 / 0.8232 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.474, allocations: 1.031 kB / 0.8232 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.474, allocations: 1.625 kB / 0.8232 GB, free: 3.371 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.961e-05/0.4741, allocations: 22.89 kB / 0.8232 GB, free: 3.363 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000115/0.4742, allocations: 164.4 kB / 0.8234 GB, free: 3.168 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.12e-05/0.4743, allocations: 50.17 kB / 0.8234 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.444e-05/0.4743, allocations: 17.22 kB / 0.8235 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000506/0.4748, allocations: 0.5964 MB / 0.824 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.285e-05/0.4748, allocations: 39.66 kB / 0.8241 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.4748, allocations: 0 / 0.8241 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.0004703/0.4753, allocations: 301.2 kB / 0.8244 GB, free: 2.152 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.551e-05/0.4753, allocations: 52.11 kB / 0.8244 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.905e-05/0.4754, allocations: 99.41 kB / 0.8245 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.4754, allocations: 30.95 kB / 0.8245 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.547e-05/0.4754, allocations: 86.77 kB / 0.8246 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.635e-05/0.4754, allocations: 33.92 kB / 0.8247 GB, free: 1.84 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.941e-05/0.4755, allocations: 26.97 kB / 0.8247 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.492e-05/0.4755, allocations: 323.8 kB / 0.825 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.598e-05/0.4755, allocations: 13.47 kB / 0.825 GB, free: 1.492 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.149e-05/0.4756, allocations: 55.16 kB / 0.8251 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.682e-05/0.4757, allocations: 77.77 kB / 0.8251 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.4757, allocations: 0 / 0.8251 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001096/0.4758, allocations: 89.73 kB / 0.8252 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.4758, allocations: 7.703 kB / 0.8252 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.4758, allocations: 4.047 kB / 0.8252 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.4758, allocations: 4 kB / 0.8252 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.207e-05/0.4759, allocations: 24.95 kB / 0.8253 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.4759, allocations: 4.5 kB / 0.8253 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.673e-05/0.4759, allocations: 11.88 kB / 0.8253 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.4759, allocations: 3.188 kB / 0.8253 GB, free: 1.293 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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 5.048e-05/0.476, allocations: 121.1 kB / 0.8254 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.645e-05/0.476, allocations: 6.516 kB / 0.8254 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.725e-05/0.476, allocations: 11.42 kB / 0.8254 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.476, allocations: 4.453 kB / 0.8254 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.476, allocations: 0 / 0.8254 GB, free: 1.156 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.476, allocations: 8.5 kB / 0.8254 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001918/0.4762, allocations: 168.6 kB / 0.8256 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.4762, allocations: 1.609 kB / 0.8256 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.895e-05/0.4763, allocations: 20.31 kB / 0.8256 GB, free: 0.9531 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.4763, allocations: 3.938 kB / 0.8256 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.4763, allocations: 0.6562 kB / 0.8256 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.4763, allocations: 2.562 kB / 0.8256 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4763, allocations: 0.6562 kB / 0.8256 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001238/0.4764, allocations: 181.8 kB / 0.8258 GB, free: 0.7891 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.681e-05/0.4765, allocations: 83.08 kB / 0.8259 GB, free: 0.6953 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.176e-05/0.4765, allocations: 0.5625 kB / 0.8259 GB, free: 0.6953 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.4766, allocations: 8.438 kB / 0.8259 GB, free: 0.6914 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.348e-05/0.4766, allocations: 4.984 kB / 0.8259 GB, free: 0.6914 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.632e-06/0.4766, allocations: 4.453 kB / 0.8259 GB, free: 0.6875 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 1.749e-05/0.4766, allocations: 80.42 kB / 0.826 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4766, allocations: 0 / 0.826 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002203/0.4768, allocations: 13.78 kB / 0.826 GB, free: 0.6094 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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 9.08e-05/0.4769, allocations: 111.1 kB / 0.8261 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 9.822e-05/0.477, allocations: 43.47 kB / 0.8261 GB, free: 0.4922 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.477, allocations: 0.5156 kB / 0.8261 GB, free: 0.4922 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.897e-05/0.4771, allocations: 11.89 kB / 0.8261 GB, free: 0.4922 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002436/0.4773, allocations: 12.02 kB / 0.8261 GB, free: 500 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004389/0.4777, allocations: 353.3 kB / 0.8265 GB, free: 192 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002708/0.478, allocations: 0.6808 MB / 0.8271 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.584e-05/0.478, allocations: 12.78 kB / 0.8272 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of SimCode: time 2.9e-07/0.478, allocations: 0 / 0.8272 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of Templates: time 0.002064/0.4801, allocations: 0.78 MB / 0.8279 GB, free: 15.42 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.862020662985742] Failed to read output from testmodel.py, exit status != 0: 0.48740572296082973 0.49866568599999994 0.022504276 Calling exit ...