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.001453/0.001453, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.001498/0.001498, allocations: 219.7 kB / 22.26 MB, free: 5.125 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.463/1.463, allocations: 230.6 MB / 256 MB, free: 7.973 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.9571/0.9571, allocations: 145 MB / 457.4 MB, free: 15.53 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: "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [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.002092/0.002092, allocations: 70.48 kB / 0.6331 GB, free: 7.344 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1745/0.1766, allocations: 87.88 MB / 0.719 GB, free: 15.47 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck): time 0.002497/0.1791, allocations: 1.289 MB / 0.7202 GB, free: 14.18 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004401/0.1835, allocations: 3.363 MB / 0.7235 GB, free: 10.79 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.66e-05/0.1835, allocations: 0 / 0.7235 GB, free: 10.79 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.867e-05/0.1835, allocations: 0 / 0.7235 GB, free: 10.79 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.215e-05/0.1836, allocations: 7.922 kB / 0.7235 GB, free: 10.78 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005465/0.1841, allocations: 107.5 kB / 0.7236 GB, free: 10.68 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.922e-05/0.1842, allocations: 39.86 kB / 0.7237 GB, free: 10.64 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.715e-05/0.1843, allocations: 3.984 kB / 0.7237 GB, free: 10.63 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.4e-05/0.1843, allocations: 27.91 kB / 0.7237 GB, free: 10.61 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.145e-05/0.1844, allocations: 7.984 kB / 0.7237 GB, free: 10.6 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.149e-05/0.1844, allocations: 4 kB / 0.7237 GB, free: 10.59 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002433/0.1846, allocations: 87.8 kB / 0.7238 GB, free: 10.51 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.479e-05/0.1846, allocations: 7.922 kB / 0.7238 GB, free: 10.5 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.447e-05/0.1847, allocations: 23.86 kB / 0.7238 GB, free: 10.48 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001795/0.1849, allocations: 67.84 kB / 0.7239 GB, free: 10.41 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1849, allocations: 0 / 0.7239 GB, free: 10.41 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1849, allocations: 4 kB / 0.7239 GB, free: 10.41 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.1849, allocations: 0 / 0.7239 GB, free: 10.41 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.0004103/0.1853, allocations: 270.2 kB / 0.7241 GB, free: 10.11 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.1853, allocations: 12.03 kB / 0.7241 GB, free: 10.1 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.2e-05/0.1854, allocations: 34.73 kB / 0.7242 GB, free: 10.06 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.232e-05/0.1855, allocations: 12.89 kB / 0.7242 GB, free: 10.05 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.587e-05/0.1856, allocations: 102.5 kB / 0.7243 GB, free: 9.922 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.1856, allocations: 8.312 kB / 0.7243 GB, free: 9.914 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.567e-05/0.1856, allocations: 16.38 kB / 0.7243 GB, free: 9.898 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.1857, allocations: 57.55 kB / 0.7244 GB, free: 9.836 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.1857, allocations: 0 / 0.7244 GB, free: 9.836 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.1857, allocations: 0 / 0.7244 GB, free: 9.836 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.1858, allocations: 0 / 0.7244 GB, free: 9.836 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.452e-05/0.1858, allocations: 19.98 kB / 0.7244 GB, free: 9.816 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001794/0.186, allocations: 136.7 kB / 0.7245 GB, free: 9.641 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.1861, allocations: 42.56 kB / 0.7246 GB, free: 9.59 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.162e-05/0.1861, allocations: 20.84 kB / 0.7246 GB, free: 9.566 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005785/0.1867, allocations: 254 kB / 0.7248 GB, free: 9.297 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/0.1867, allocations: 34.55 kB / 0.7249 GB, free: 9.254 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.363e-06/0.1867, allocations: 0 / 0.7249 GB, free: 9.254 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0005622/0.1873, allocations: 225.2 kB / 0.7251 GB, free: 9 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.1873, allocations: 51.41 kB / 0.7251 GB, free: 8.938 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.904e-05/0.1874, allocations: 105.7 kB / 0.7252 GB, free: 8.824 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.1874, allocations: 29.7 kB / 0.7252 GB, free: 8.789 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.183e-05/0.1875, allocations: 92.08 kB / 0.7253 GB, free: 8.695 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.24e-05/0.1875, allocations: 27.81 kB / 0.7254 GB, free: 8.668 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.48e-05/0.1876, allocations: 29.7 kB / 0.7254 GB, free: 8.633 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.1877, allocations: 318.8 kB / 0.7257 GB, free: 8.312 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.133e-05/0.1877, allocations: 19.98 kB / 0.7257 GB, free: 8.293 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.664e-05/0.1878, allocations: 49.09 kB / 0.7258 GB, free: 8.227 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001031/0.1879, allocations: 77.08 kB / 0.7258 GB, free: 8.133 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1879, allocations: 0 / 0.7258 GB, free: 8.133 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001674/0.1881, allocations: 93.73 kB / 0.7259 GB, free: 8.035 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.1881, allocations: 8 kB / 0.7259 GB, free: 8.027 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.1881, allocations: 48 / 0.7259 GB, free: 8.027 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.1881, allocations: 7.984 kB / 0.7259 GB, free: 8.02 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.162e-05/0.1882, allocations: 19.98 kB / 0.726 GB, free: 8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.1882, allocations: 7.938 kB / 0.726 GB, free: 7.992 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.048e-05/0.1882, allocations: 12.06 kB / 0.726 GB, free: 7.98 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.1882, allocations: 4 kB / 0.726 GB, free: 7.977 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 9.287e-05/0.1883, allocations: 113.8 kB / 0.7261 GB, free: 7.855 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.589e-05/0.1884, allocations: 0 / 0.7261 GB, free: 7.855 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.242e-05/0.1884, allocations: 12.06 kB / 0.7261 GB, free: 7.844 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1884, allocations: 0 / 0.7261 GB, free: 7.844 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1884, allocations: 448 / 0.7261 GB, free: 7.844 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.1884, allocations: 7.922 kB / 0.7261 GB, free: 7.836 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000258/0.1887, allocations: 136.8 kB / 0.7262 GB, free: 7.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.1887, allocations: 11.98 kB / 0.7263 GB, free: 7.648 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.747e-05/0.1888, allocations: 23.88 kB / 0.7263 GB, free: 7.625 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.1888, allocations: 0 / 0.7263 GB, free: 7.625 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.769e-06/0.1888, allocations: 4 kB / 0.7263 GB, free: 7.621 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1888, allocations: 0 / 0.7263 GB, free: 7.621 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1888, allocations: 0 / 0.7263 GB, free: 7.621 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002028/0.189, allocations: 179.5 kB / 0.7264 GB, free: 7.43 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.527e-05/0.189, allocations: 0 / 0.7264 GB, free: 7.43 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.843e-05/0.189, allocations: 12.03 kB / 0.7265 GB, free: 7.418 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.1891, allocations: 0 / 0.7265 GB, free: 7.418 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.025e-05/0.1891, allocations: 15.88 kB / 0.7265 GB, free: 7.402 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.223e-06/0.1891, allocations: 3.984 kB / 0.7265 GB, free: 7.398 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.115e-05/0.1892, allocations: 79.28 kB / 0.7266 GB, free: 7.32 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1892, allocations: 0 / 0.7266 GB, free: 7.32 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002415/0.1894, allocations: 12 kB / 0.7266 GB, free: 7.309 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.0005177/0.1899, allocations: 0.7085 MB / 0.7273 GB, free: 6.574 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001204/0.1901, allocations: 39.97 kB / 0.7273 GB, free: 6.535 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.1901, allocations: 0 / 0.7273 GB, free: 6.535 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.895e-05/0.1901, allocations: 23.92 kB / 0.7273 GB, free: 6.512 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003056/0.1904, allocations: 7.938 kB / 0.7273 GB, free: 6.504 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001699/0.1921, allocations: 1.533 MB / 0.7288 GB, free: 4.859 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003216/0.1924, allocations: 0.6807 MB / 0.7295 GB, free: 4.152 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.011e-05/0.1925, allocations: 11.98 kB / 0.7295 GB, free: 4.141 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.395e-05/0.1925, allocations: 15.44 kB / 0.7295 GB, free: 4.125 MB / 0.545 GB Notification: Performance of SimCode: time 5.11e-07/0.1925, allocations: 0 / 0.7295 GB, free: 4.125 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03041/0.2229, allocations: 1.811 MB / 0.7313 GB, free: 2.445 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.14/11.37, allocations: 10.19 kB / 0.7313 GB, free: 2.438 MB / 0.545 GB " [Timeout remaining time 649] (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 & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.208892270999058] Failed to read output from testmodel.py, exit status != 0: 11.470155085997249 11.485279826 11.297213536 Calling exit ...