Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.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.001224/0.001224, allocations: 106.4 kB / 16.45 MB, free: 6.453 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.001351/0.001351, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.43/1.43, allocations: 230.6 MB / 252.8 MB, free: 8.941 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.9069/0.9069, allocations: 145 MB / 453.8 MB, free: 0.6328 MB / 350.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.WaterProperties,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.WaterProperties,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterProperties",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.001956/0.001956, allocations: 66.47 kB / 0.6281 GB, free: 10.54 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1816/0.1836, allocations: 87.83 MB / 0.7138 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.WaterProperties): time 0.006671/0.1902, allocations: 4.812 MB / 0.7185 GB, free: 13.88 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003101/0.1933, allocations: 2.726 MB / 0.7212 GB, free: 11.14 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.928e-05/0.1934, allocations: 4 kB / 0.7212 GB, free: 11.14 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002687/0.1937, allocations: 55.67 kB / 0.7213 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002725/0.194, allocations: 95.36 kB / 0.7213 GB, free: 10.99 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001183/0.1951, allocations: 0.5144 MB / 0.7218 GB, free: 10.48 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002798/0.1954, allocations: 232 kB / 0.7221 GB, free: 10.25 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.888e-05/0.1955, allocations: 13.5 kB / 0.7221 GB, free: 10.24 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002067/0.1957, allocations: 115.6 kB / 0.7222 GB, free: 10.12 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001639/0.1958, allocations: 95.59 kB / 0.7223 GB, free: 10.03 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.164e-05/0.1959, allocations: 4 kB / 0.7223 GB, free: 10.03 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006887/0.1966, allocations: 391.3 kB / 0.7227 GB, free: 9.645 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.852e-05/0.1966, allocations: 47.75 kB / 0.7227 GB, free: 9.598 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.849e-05/0.1967, allocations: 79.66 kB / 0.7228 GB, free: 9.52 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005688/0.1973, allocations: 366.8 kB / 0.7231 GB, free: 9.16 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.1973, allocations: 7.984 kB / 0.7231 GB, free: 9.152 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1973, allocations: 0 / 0.7231 GB, free: 9.152 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.211e-06/0.1973, allocations: 4 kB / 0.7231 GB, free: 9.148 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008554/0.1982, allocations: 0.5141 MB / 0.7236 GB, free: 8.582 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.1982, allocations: 12.03 kB / 0.7237 GB, free: 8.57 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.862e-05/0.1983, allocations: 46.73 kB / 0.7237 GB, free: 8.516 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001586/0.1984, allocations: 24.83 kB / 0.7237 GB, free: 8.492 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003172/0.1987, allocations: 216.2 kB / 0.7239 GB, free: 8.242 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.1988, allocations: 8.703 kB / 0.7239 GB, free: 8.234 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.8e-05/0.1988, allocations: 16.38 kB / 0.724 GB, free: 8.219 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004052/0.1992, allocations: 252 kB / 0.7242 GB, free: 7.953 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.1992, allocations: 0 / 0.7242 GB, free: 7.953 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.456e-05/0.1992, allocations: 8 kB / 0.7242 GB, free: 7.945 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.802e-05/0.1993, allocations: 11.98 kB / 0.7242 GB, free: 7.934 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005271/0.1998, allocations: 431.5 kB / 0.7246 GB, free: 7.512 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001212/0.201, allocations: 0.9527 MB / 0.7256 GB, free: 6.469 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002935/0.2013, allocations: 161.4 kB / 0.7257 GB, free: 6.305 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.2014, allocations: 55.06 kB / 0.7258 GB, free: 6.25 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001639/0.203, allocations: 1.825 MB / 0.7275 GB, free: 4.066 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.552e-05/0.2031, allocations: 46.55 kB / 0.7276 GB, free: 4.012 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 1.342e-06/0.2031, allocations: 0 / 0.7276 GB, free: 4.012 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.000349/0.2034, allocations: 153.4 kB / 0.7277 GB, free: 3.855 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/0.2035, allocations: 51.41 kB / 0.7278 GB, free: 3.793 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001653/0.2036, allocations: 175.2 kB / 0.7279 GB, free: 3.609 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.2036, allocations: 25.7 kB / 0.728 GB, free: 3.578 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.787e-05/0.2037, allocations: 152 kB / 0.7281 GB, free: 3.426 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.774e-05/0.2038, allocations: 51.59 kB / 0.7282 GB, free: 3.375 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.008e-05/0.2039, allocations: 49.66 kB / 0.7282 GB, free: 3.32 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.204, allocations: 322.8 kB / 0.7285 GB, free: 2.996 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.392e-05/0.2041, allocations: 43.98 kB / 0.7286 GB, free: 2.953 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001603/0.2042, allocations: 142.9 kB / 0.7287 GB, free: 2.766 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002551/0.2045, allocations: 195.6 kB / 0.7289 GB, free: 2.527 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.2045, allocations: 4 kB / 0.7289 GB, free: 2.523 MB / 0.545 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003438/0.2048, allocations: 209.2 kB / 0.7291 GB, free: 2.312 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.2049, allocations: 11.98 kB / 0.7291 GB, free: 2.301 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.2049, allocations: 4.469 kB / 0.7291 GB, free: 2.297 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.2049, allocations: 11.94 kB / 0.7291 GB, free: 2.285 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001762/0.2051, allocations: 51.92 kB / 0.7292 GB, free: 2.234 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.414e-05/0.2051, allocations: 19.81 kB / 0.7292 GB, free: 2.215 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.2052, allocations: 31.8 kB / 0.7292 GB, free: 2.184 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.006e-05/0.2052, allocations: 11.98 kB / 0.7292 GB, free: 2.172 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0001187/0.2053, allocations: 133.7 kB / 0.7294 GB, free: 2.031 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.076e-05/0.2054, allocations: 11.95 kB / 0.7294 GB, free: 2.02 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003332/0.2057, allocations: 157.8 kB / 0.7295 GB, free: 1.855 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-05/0.2057, allocations: 11.94 kB / 0.7295 GB, free: 1.844 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.2057, allocations: 0 / 0.7295 GB, free: 1.844 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.371e-06/0.2057, allocations: 7.922 kB / 0.7295 GB, free: 1.836 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002607/0.206, allocations: 209.6 kB / 0.7297 GB, free: 1.582 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.206, allocations: 0 / 0.7297 GB, free: 1.582 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.891e-05/0.2061, allocations: 23.98 kB / 0.7298 GB, free: 1.559 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.2061, allocations: 0 / 0.7298 GB, free: 1.559 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.2061, allocations: 8 kB / 0.7298 GB, free: 1.551 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.386e-06/0.2061, allocations: 3.938 kB / 0.7298 GB, free: 1.547 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.2061, allocations: 0 / 0.7298 GB, free: 1.547 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002838/0.2064, allocations: 223.3 kB / 0.73 GB, free: 1.312 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.2065, allocations: 112.9 kB / 0.7301 GB, free: 1.184 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.427e-05/0.2065, allocations: 7.984 kB / 0.7301 GB, free: 1.176 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002121/0.2067, allocations: 19.92 kB / 0.7301 GB, free: 1.156 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.259e-05/0.2068, allocations: 11.97 kB / 0.7301 GB, free: 1.145 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.586e-05/0.2068, allocations: 15.98 kB / 0.7301 GB, free: 1.129 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.969e-05/0.2069, allocations: 116.9 kB / 0.7303 GB, free: 1.016 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2069, allocations: 4 kB / 0.7303 GB, free: 1.012 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003852/0.2073, allocations: 75.88 kB / 0.7303 GB, free: 0.9375 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0008085/0.2081, allocations: 0.8371 MB / 0.7311 GB, free: 76 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002701/0.2083, allocations: 117.8 kB / 0.7313 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2084, allocations: 0 / 0.7313 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.831e-05/0.2084, allocations: 36.92 kB / 0.7313 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004538/0.2089, allocations: 67.81 kB / 0.7314 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002354/0.2112, allocations: 2.033 MB / 0.7333 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003456/0.2116, allocations: 0.7128 MB / 0.734 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001488/0.2117, allocations: 53.75 kB / 0.7341 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/0.2118, allocations: 47.36 kB / 0.7341 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of SimCode: time 3.1e-07/0.2118, allocations: 0 / 0.7341 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02946/0.2413, allocations: 5.433 MB / 0.7394 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.171/8.413, allocations: 4.062 kB / 0.7394 GB, free: 7.496 MB / 0.5606 GB " [Timeout remaining time 652] (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_WaterProperties.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.438376984006027] Failed to read output from testmodel.py, exit status != 0: 8.483854164005606 8.83149898 8.631195523 Calling exit ...