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.001378/0.001378, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001846/0.001846, allocations: 217.2 kB / 22.25 MB, free: 4.855 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.466/1.466, allocations: 230.6 MB / 256 MB, free: 7.805 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.9816/0.9816, allocations: 145 MB / 457.4 MB, free: 15.3 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.002323/0.002323, allocations: 67.92 kB / 0.6331 GB, free: 6.738 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1884/0.1907, allocations: 87.89 MB / 0.7189 GB, free: 14.86 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterDerivativeCheck): time 0.002714/0.1934, allocations: 1.275 MB / 0.7201 GB, free: 13.57 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004433/0.1978, allocations: 3.079 MB / 0.7231 GB, free: 10.47 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.104e-05/0.1979, allocations: 0 / 0.7231 GB, free: 10.47 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.224e-05/0.1979, allocations: 3.938 kB / 0.7231 GB, free: 10.47 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.713e-05/0.1979, allocations: 11.91 kB / 0.7232 GB, free: 10.46 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006411/0.1986, allocations: 103.5 kB / 0.7233 GB, free: 10.36 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.523e-05/0.1987, allocations: 39.86 kB / 0.7233 GB, free: 10.32 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.353e-05/0.1987, allocations: 0 / 0.7233 GB, free: 10.32 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.46e-05/0.1988, allocations: 27.91 kB / 0.7233 GB, free: 10.29 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.016e-05/0.1988, allocations: 11.92 kB / 0.7233 GB, free: 10.28 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.286e-05/0.1988, allocations: 4 kB / 0.7233 GB, free: 10.27 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002432/0.1991, allocations: 67.81 kB / 0.7234 GB, free: 10.21 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.924e-05/0.1991, allocations: 4 kB / 0.7234 GB, free: 10.2 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.175e-05/0.1991, allocations: 15.92 kB / 0.7234 GB, free: 10.19 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001951/0.1993, allocations: 71.8 kB / 0.7235 GB, free: 10.12 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1993, allocations: 0 / 0.7235 GB, free: 10.12 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1993, allocations: 0 / 0.7235 GB, free: 10.12 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.919e-06/0.1993, allocations: 0 / 0.7235 GB, free: 10.12 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.0004343/0.1998, allocations: 270.3 kB / 0.7237 GB, free: 9.824 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.1998, allocations: 8.031 kB / 0.7238 GB, free: 9.816 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.378e-05/0.1999, allocations: 42.69 kB / 0.7238 GB, free: 9.766 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.577e-05/0.2, allocations: 12.83 kB / 0.7238 GB, free: 9.754 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/0.2001, allocations: 102.5 kB / 0.7239 GB, free: 9.629 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.2001, allocations: 8.375 kB / 0.7239 GB, free: 9.621 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.061e-05/0.2001, allocations: 8.359 kB / 0.7239 GB, free: 9.613 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001932/0.2003, allocations: 138.7 kB / 0.724 GB, free: 9.453 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.2003, allocations: 0 / 0.724 GB, free: 9.453 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.2003, allocations: 0 / 0.724 GB, free: 9.453 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.2004, allocations: 0 / 0.724 GB, free: 9.453 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.85e-05/0.2004, allocations: 23.92 kB / 0.7241 GB, free: 9.43 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001909/0.2006, allocations: 140.7 kB / 0.7242 GB, free: 9.25 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001111/0.2007, allocations: 46.56 kB / 0.7243 GB, free: 9.195 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.164e-05/0.2007, allocations: 16.84 kB / 0.7243 GB, free: 9.176 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006078/0.2014, allocations: 245.8 kB / 0.7245 GB, free: 8.914 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.2014, allocations: 42.5 kB / 0.7245 GB, free: 8.863 MB / 0.545 GB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.2014, allocations: 0 / 0.7245 GB, free: 8.863 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0006182/0.202, allocations: 233.4 kB / 0.7248 GB, free: 8.602 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.007e-05/0.202, allocations: 51.41 kB / 0.7248 GB, free: 8.539 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.873e-05/0.2021, allocations: 105.8 kB / 0.7249 GB, free: 8.426 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.2022, allocations: 29.7 kB / 0.7249 GB, free: 8.391 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.497e-05/0.2022, allocations: 84.09 kB / 0.725 GB, free: 8.305 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.667e-05/0.2022, allocations: 31.73 kB / 0.7251 GB, free: 8.273 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-05/0.2023, allocations: 25.72 kB / 0.7251 GB, free: 8.242 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.2024, allocations: 318.8 kB / 0.7254 GB, free: 7.922 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.871e-05/0.2024, allocations: 11.98 kB / 0.7254 GB, free: 7.91 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.518e-05/0.2025, allocations: 57.08 kB / 0.7254 GB, free: 7.836 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.83e-05/0.2026, allocations: 73.03 kB / 0.7255 GB, free: 7.746 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.2026, allocations: 0 / 0.7255 GB, free: 7.746 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001482/0.2028, allocations: 101.6 kB / 0.7256 GB, free: 7.641 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.2028, allocations: 8.031 kB / 0.7256 GB, free: 7.633 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.2028, allocations: 0 / 0.7256 GB, free: 7.633 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.2028, allocations: 7.984 kB / 0.7256 GB, free: 7.625 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.342e-05/0.2029, allocations: 16 kB / 0.7256 GB, free: 7.609 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.2029, allocations: 4 kB / 0.7256 GB, free: 7.605 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.012e-05/0.2029, allocations: 3.938 kB / 0.7257 GB, free: 7.602 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.773e-05/0.2029, allocations: 4 kB / 0.7257 GB, free: 7.598 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 8.805e-05/0.203, allocations: 117.8 kB / 0.7258 GB, free: 7.473 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.027e-05/0.203, allocations: 7.984 kB / 0.7258 GB, free: 7.465 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.172e-05/0.2031, allocations: 8.062 kB / 0.7258 GB, free: 7.457 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.2031, allocations: 4 kB / 0.7258 GB, free: 7.453 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.2031, allocations: 0 / 0.7258 GB, free: 7.453 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.2031, allocations: 3.938 kB / 0.7258 GB, free: 7.449 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002384/0.2033, allocations: 144.7 kB / 0.7259 GB, free: 7.266 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.2033, allocations: 4.375 kB / 0.7259 GB, free: 7.262 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.785e-05/0.2034, allocations: 19.98 kB / 0.726 GB, free: 7.242 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.2034, allocations: 0 / 0.726 GB, free: 7.242 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.2034, allocations: 4 kB / 0.726 GB, free: 7.238 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.2034, allocations: 0 / 0.726 GB, free: 7.238 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2034, allocations: 0 / 0.726 GB, free: 7.238 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002074/0.2036, allocations: 187.3 kB / 0.7261 GB, free: 7.039 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.469e-05/0.2037, allocations: 4.375 kB / 0.7261 GB, free: 7.035 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.699e-05/0.2037, allocations: 4 kB / 0.7261 GB, free: 7.031 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.2038, allocations: 8.031 kB / 0.7262 GB, free: 7.023 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.818e-05/0.2038, allocations: 3.938 kB / 0.7262 GB, free: 7.02 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.2038, allocations: 7.984 kB / 0.7262 GB, free: 7.012 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.436e-05/0.2039, allocations: 83.27 kB / 0.7262 GB, free: 6.93 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.2039, allocations: 0 / 0.7262 GB, free: 6.93 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002377/0.2041, allocations: 12 kB / 0.7263 GB, free: 6.918 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.0005243/0.2046, allocations: 0.7124 MB / 0.7269 GB, free: 6.18 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001344/0.2048, allocations: 43.91 kB / 0.727 GB, free: 6.137 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2048, allocations: 0 / 0.727 GB, free: 6.137 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.437e-05/0.2048, allocations: 12 kB / 0.727 GB, free: 6.125 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003032/0.2051, allocations: 15.92 kB / 0.727 GB, free: 6.109 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001619/0.2067, allocations: 1.521 MB / 0.7285 GB, free: 4.477 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.984e-05/0.2068, allocations: 71.34 kB / 0.7286 GB, free: 4.387 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.405e-05/0.2068, allocations: 4 kB / 0.7286 GB, free: 4.383 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.46e-05/0.2069, allocations: 19.42 kB / 0.7286 GB, free: 4.363 MB / 0.545 GB Notification: Performance of SimCode: time 5.41e-07/0.2069, allocations: 4 kB / 0.7286 GB, free: 4.359 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03816/0.245, allocations: 2.201 MB / 0.7307 GB, free: 2.301 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.36, allocations: 10.47 kB / 0.7308 GB, free: 2.297 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.405456815846264] Failed to read output from testmodel.py, exit status != 0: 11.46785465395078 11.487053552 11.284203971 Calling exit ...