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.001372/0.001372, allocations: 110 kB / 18.93 MB, free: 2.945 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.001525/0.001525, allocations: 192 kB / 22.23 MB, free: 5.16 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.417/1.417, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.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.002463/0.002463, allocations: 287.7 kB / 306.5 MB, free: 8.316 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.216/1.216, allocations: 180.8 MB / 0.53 GB, free: 14.36 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.002747/0.002747, allocations: 106.4 kB / 0.7308 GB, free: 38.9 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1678/0.1705, allocations: 94.19 MB / 0.8228 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterDerivativeCheck): time 0.002263/0.1728, allocations: 1.273 MB / 0.824 GB, free: 0.5195 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003925/0.1767, allocations: 3.317 MB / 0.8273 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.519e-05/0.1768, allocations: 0 / 0.8273 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.111e-05/0.1768, allocations: 3.984 kB / 0.8273 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.729e-05/0.1768, allocations: 3.938 kB / 0.8273 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004869/0.1773, allocations: 111.5 kB / 0.8274 GB, free: 13.06 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.817e-05/0.1774, allocations: 43.84 kB / 0.8274 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.362e-05/0.1774, allocations: 0 / 0.8274 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.427e-05/0.1775, allocations: 19.98 kB / 0.8275 GB, free: 13 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.135e-05/0.1775, allocations: 19.91 kB / 0.8275 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.222e-05/0.1775, allocations: 4 kB / 0.8275 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002265/0.1778, allocations: 75.75 kB / 0.8275 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.149e-05/0.1778, allocations: 15.97 kB / 0.8276 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 3.406e-05/0.1778, allocations: 11.94 kB / 0.8276 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001856/0.178, allocations: 67.78 kB / 0.8276 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.178, allocations: 0 / 0.8276 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.162e-06/0.178, allocations: 0 / 0.8276 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.178, allocations: 8 kB / 0.8276 GB, free: 12.8 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.0004183/0.1784, allocations: 274.2 kB / 0.8279 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.1785, allocations: 8.031 kB / 0.8279 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.866e-05/0.1786, allocations: 8.922 kB / 0.8279 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.295e-05/0.1787, allocations: 110.5 kB / 0.828 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.816e-06/0.1787, allocations: 4.375 kB / 0.828 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.631e-05/0.1787, allocations: 8.328 kB / 0.828 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000137/0.1788, allocations: 65.73 kB / 0.8281 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.1788, allocations: 0 / 0.8281 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.1788, allocations: 0 / 0.8281 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.1789, allocations: 4 kB / 0.8281 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.929e-05/0.1789, allocations: 19.97 kB / 0.8281 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001693/0.1791, allocations: 136.7 kB / 0.8283 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 9.931e-05/0.1792, allocations: 46.56 kB / 0.8283 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.244e-05/0.1792, allocations: 20.8 kB / 0.8283 GB, free: 12 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005374/0.1798, allocations: 249.8 kB / 0.8286 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.1798, allocations: 38.5 kB / 0.8286 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.1798, allocations: 0 / 0.8286 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of matching and sorting (n=7): time 0.0005419/0.1803, allocations: 225.4 kB / 0.8288 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/0.1804, allocations: 59.39 kB / 0.8289 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.738e-05/0.1804, allocations: 97.86 kB / 0.829 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.1805, allocations: 29.7 kB / 0.829 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.873e-05/0.1805, allocations: 88.09 kB / 0.8291 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.227e-05/0.1805, allocations: 27.73 kB / 0.8291 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.594e-05/0.1806, allocations: 25.72 kB / 0.8291 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.1807, allocations: 322.8 kB / 0.8294 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.702e-05/0.1807, allocations: 8 kB / 0.8294 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.202e-05/0.1808, allocations: 65.02 kB / 0.8295 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.748e-05/0.1809, allocations: 73.08 kB / 0.8296 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.1809, allocations: 0 / 0.8296 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000142/0.181, allocations: 101.5 kB / 0.8297 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.1811, allocations: 4 kB / 0.8297 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.1811, allocations: 4 kB / 0.8297 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.1811, allocations: 0 / 0.8297 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.715e-05/0.1811, allocations: 20.38 kB / 0.8297 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.1812, allocations: 7.984 kB / 0.8297 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.711e-05/0.1812, allocations: 3.938 kB / 0.8297 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.1812, allocations: 8.125 kB / 0.8297 GB, free: 10.41 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 8.521e-05/0.1813, allocations: 114.5 kB / 0.8298 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.972e-05/0.1813, allocations: 8 kB / 0.8298 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.42e-05/0.1813, allocations: 12 kB / 0.8298 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.1813, allocations: 0 / 0.8298 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.1813, allocations: 0 / 0.8298 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1814, allocations: 3.938 kB / 0.8298 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002385/0.1816, allocations: 144.7 kB / 0.83 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.1816, allocations: 4 kB / 0.83 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.896e-05/0.1817, allocations: 23.92 kB / 0.83 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.1817, allocations: 0 / 0.83 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.1817, allocations: 0 / 0.83 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1817, allocations: 0 / 0.83 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.1817, allocations: 0 / 0.83 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001859/0.1819, allocations: 179.4 kB / 0.8302 GB, free: 9.871 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.662e-05/0.1819, allocations: 8.375 kB / 0.8302 GB, free: 9.863 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/0.1819, allocations: 0 / 0.8302 GB, free: 9.863 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.182, allocations: 8.031 kB / 0.8302 GB, free: 9.855 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.918e-05/0.182, allocations: 7.938 kB / 0.8302 GB, free: 9.848 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-06/0.1821, allocations: 7.922 kB / 0.8302 GB, free: 9.84 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.276e-05/0.1821, allocations: 87.27 kB / 0.8303 GB, free: 9.754 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1821, allocations: 3.938 kB / 0.8303 GB, free: 9.75 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002375/0.1823, allocations: 12 kB / 0.8303 GB, free: 9.738 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 0.0001227/0.1825, allocations: 99.25 kB / 0.8304 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001122/0.1826, allocations: 39.92 kB / 0.8304 GB, free: 9.59 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1826, allocations: 0 / 0.8304 GB, free: 9.59 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 2.857e-05/0.1826, allocations: 16 kB / 0.8305 GB, free: 9.574 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000271/0.1829, allocations: 11.98 kB / 0.8305 GB, free: 9.562 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005795/0.1835, allocations: 323 kB / 0.8308 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000297/0.1838, allocations: 0.6845 MB / 0.8314 GB, free: 8.508 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.441e-05/0.1838, allocations: 8 kB / 0.8315 GB, free: 8.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.703e-05/0.1838, allocations: 11.44 kB / 0.8315 GB, free: 8.488 MB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/0.1838, allocations: 0 / 0.8315 GB, free: 8.488 MB / 0.5762 GB Notification: Performance of Templates: time 0.003123/0.1869, allocations: 0.6753 MB / 0.8321 GB, free: 7.816 MB / 0.5762 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: 5.825663224793971] Failed to read output from testmodel.py, exit status != 0: 0.19409036543220282 0.20827213 0.027353223000000003 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7ff7f74e17b0>