Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.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.001425/0.001425, allocations: 95.64 kB / 18.95 MB, free: 2.691 MB / 14.72 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.001609/0.001609, allocations: 212.6 kB / 22.24 MB, free: 5.242 MB / 14.72 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 1.426/1.426, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.9144/0.9144, allocations: 145 MB / 457.4 MB, free: 15.31 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck") translateModel(BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck") [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 60.81 kB / 0.6335 GB, free: 6.238 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1888/0.1908, allocations: 87.89 MB / 0.7194 GB, free: 14.37 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck): time 0.002547/0.1934, allocations: 1.259 MB / 0.7206 GB, free: 13.1 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00414/0.1975, allocations: 3.091 MB / 0.7236 GB, free: 9.984 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.81e-05/0.1976, allocations: 0 / 0.7236 GB, free: 9.984 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.157e-05/0.1976, allocations: 3.938 kB / 0.7236 GB, free: 9.98 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.183e-05/0.1976, allocations: 7.969 kB / 0.7236 GB, free: 9.973 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005778/0.1982, allocations: 115.4 kB / 0.7237 GB, free: 9.859 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.845e-05/0.1983, allocations: 27.92 kB / 0.7238 GB, free: 9.832 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.199e-05/0.1983, allocations: 4 kB / 0.7238 GB, free: 9.828 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.887e-05/0.1984, allocations: 23.91 kB / 0.7238 GB, free: 9.805 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.226e-05/0.1984, allocations: 19.92 kB / 0.7238 GB, free: 9.785 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.159e-05/0.1985, allocations: 0 / 0.7238 GB, free: 9.785 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002101/0.1987, allocations: 67.81 kB / 0.7239 GB, free: 9.719 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.064e-05/0.1987, allocations: 11.98 kB / 0.7239 GB, free: 9.707 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.361e-05/0.1987, allocations: 15.94 kB / 0.7239 GB, free: 9.691 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001893/0.1989, allocations: 63.8 kB / 0.724 GB, free: 9.629 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1989, allocations: 0 / 0.724 GB, free: 9.629 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1989, allocations: 0 / 0.724 GB, free: 9.629 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.1989, allocations: 0 / 0.724 GB, free: 9.629 MB / 0.545 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.0004565/0.1994, allocations: 274.3 kB / 0.7242 GB, free: 9.332 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.1994, allocations: 8.031 kB / 0.7242 GB, free: 9.324 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001035/0.1995, allocations: 8.891 kB / 0.7242 GB, free: 9.316 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.1996, allocations: 106.5 kB / 0.7243 GB, free: 9.188 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.1997, allocations: 12.38 kB / 0.7243 GB, free: 9.176 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.48e-05/0.1997, allocations: 4.375 kB / 0.7244 GB, free: 9.172 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002135/0.1999, allocations: 134.9 kB / 0.7245 GB, free: 9.016 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.1999, allocations: 0 / 0.7245 GB, free: 9.016 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.1999, allocations: 0 / 0.7245 GB, free: 9.016 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.1999, allocations: 3.984 kB / 0.7245 GB, free: 9.012 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.799e-05/0.2, allocations: 19.98 kB / 0.7245 GB, free: 8.992 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001631/0.2002, allocations: 117.2 kB / 0.7246 GB, free: 8.848 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001113/0.2003, allocations: 54.48 kB / 0.7247 GB, free: 8.785 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.626e-05/0.2003, allocations: 12.8 kB / 0.7247 GB, free: 8.77 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006278/0.2009, allocations: 253.8 kB / 0.7249 GB, free: 8.5 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.588e-05/0.201, allocations: 34.56 kB / 0.725 GB, free: 8.457 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 9.72e-07/0.201, allocations: 0 / 0.725 GB, free: 8.457 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0005906/0.2016, allocations: 229.5 kB / 0.7252 GB, free: 8.199 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/0.2016, allocations: 51.41 kB / 0.7252 GB, free: 8.137 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.2017, allocations: 101.8 kB / 0.7253 GB, free: 8.027 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.516e-05/0.2017, allocations: 33.7 kB / 0.7254 GB, free: 7.988 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.75e-05/0.2018, allocations: 88.08 kB / 0.7254 GB, free: 7.898 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.383e-05/0.2018, allocations: 27.75 kB / 0.7255 GB, free: 7.871 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.707e-05/0.2019, allocations: 33.7 kB / 0.7255 GB, free: 7.832 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001725/0.202, allocations: 314.8 kB / 0.7258 GB, free: 7.516 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.232e-05/0.2021, allocations: 15.98 kB / 0.7258 GB, free: 7.5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.308e-05/0.2021, allocations: 49.16 kB / 0.7259 GB, free: 7.434 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001156/0.2023, allocations: 73.08 kB / 0.7259 GB, free: 7.344 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.2023, allocations: 0 / 0.7259 GB, free: 7.344 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001463/0.2024, allocations: 101.5 kB / 0.726 GB, free: 7.238 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.2024, allocations: 5.875 kB / 0.726 GB, free: 7.234 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.2024, allocations: 0 / 0.726 GB, free: 7.234 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.2024, allocations: 4 kB / 0.726 GB, free: 7.23 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.654e-05/0.2025, allocations: 23.92 kB / 0.7261 GB, free: 7.207 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.2025, allocations: 4 kB / 0.7261 GB, free: 7.203 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.763e-05/0.2026, allocations: 4 kB / 0.7261 GB, free: 7.199 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.758e-06/0.2026, allocations: 4 kB / 0.7261 GB, free: 7.195 MB / 0.545 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 0.0001038/0.2027, allocations: 121.7 kB / 0.7262 GB, free: 7.066 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.595e-05/0.2027, allocations: 4.094 kB / 0.7262 GB, free: 7.062 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.208e-05/0.2027, allocations: 12.06 kB / 0.7262 GB, free: 7.051 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.2027, allocations: 0 / 0.7262 GB, free: 7.051 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.2027, allocations: 0 / 0.7262 GB, free: 7.051 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.2027, allocations: 7.922 kB / 0.7262 GB, free: 7.043 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002281/0.203, allocations: 121.2 kB / 0.7263 GB, free: 6.895 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.203, allocations: 0 / 0.7263 GB, free: 6.895 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.151e-05/0.2031, allocations: 12.44 kB / 0.7263 GB, free: 6.883 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.2031, allocations: 4 kB / 0.7263 GB, free: 6.879 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.2031, allocations: 4 kB / 0.7263 GB, free: 6.875 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.2031, allocations: 4 kB / 0.7263 GB, free: 6.871 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.2031, allocations: 3.984 kB / 0.7263 GB, free: 6.867 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002008/0.2033, allocations: 183.4 kB / 0.7265 GB, free: 6.672 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.402e-05/0.2033, allocations: 4.031 kB / 0.7265 GB, free: 6.668 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.2033, allocations: 7.938 kB / 0.7265 GB, free: 6.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.2034, allocations: 0 / 0.7265 GB, free: 6.66 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.947e-05/0.2034, allocations: 7.984 kB / 0.7265 GB, free: 6.652 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.2034, allocations: 4 kB / 0.7265 GB, free: 6.648 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.172e-05/0.2035, allocations: 79.66 kB / 0.7266 GB, free: 6.57 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2035, allocations: 0 / 0.7266 GB, free: 6.57 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002347/0.2037, allocations: 16 kB / 0.7266 GB, free: 6.555 MB / 0.545 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.0001441/0.2039, allocations: 107.4 kB / 0.7267 GB, free: 6.441 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001287/0.204, allocations: 51.98 kB / 0.7268 GB, free: 6.391 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.204, allocations: 0 / 0.7268 GB, free: 6.391 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.751e-05/0.204, allocations: 15.94 kB / 0.7268 GB, free: 6.375 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00029/0.2043, allocations: 8 kB / 0.7268 GB, free: 6.367 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006061/0.2049, allocations: 323 kB / 0.7271 GB, free: 6.023 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.954e-05/0.205, allocations: 71.34 kB / 0.7272 GB, free: 5.934 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.191e-05/0.205, allocations: 7.984 kB / 0.7272 GB, free: 5.926 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.421e-05/0.2051, allocations: 7.438 kB / 0.7272 GB, free: 5.918 MB / 0.545 GB Notification: Performance of SimCode: time 3.31e-07/0.2051, allocations: 8 kB / 0.7272 GB, free: 5.91 MB / 0.545 GB Notification: Performance of Templates: time 0.003397/0.2085, allocations: 0.6363 MB / 0.7278 GB, free: 5.289 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.414395693689585] Failed to read output from testmodel.py, exit status != 0: 0.21712715364992619 0.23161096900000003 0.029684207 Calling exit ...