Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.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.001755/0.001755, allocations: 103.4 kB / 16.45 MB, free: 6.5 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.001379/0.001379, allocations: 210.4 kB / 19.42 MB, free: 3.66 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.449/1.449, allocations: 230.6 MB / 252.8 MB, free: 9.008 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.9044/0.9044, allocations: 145 MB / 453.8 MB, free: 0.7461 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.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Examples_ExpansionVessel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Examples_ExpansionVessel",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.001937/0.001937, allocations: 66.41 kB / 0.628 GB, free: 10.71 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1777/0.1796, allocations: 87.82 MB / 0.7138 GB, free: 2.898 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.01729/0.1969, allocations: 14.63 MB / 0.7281 GB, free: 4.203 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005782/0.2027, allocations: 3.661 MB / 0.7316 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005437/0.2032, allocations: 27.81 kB / 0.7317 GB, free: 0.5039 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006658/0.2039, allocations: 206.7 kB / 0.7319 GB, free: 308 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001457/0.2054, allocations: 0.6181 MB / 0.7325 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009639/0.2063, allocations: 396.7 kB / 0.7328 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0014/0.2077, allocations: 1.079 MB / 0.7339 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004133/0.2081, allocations: 272.5 kB / 0.7342 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009902/0.2091, allocations: 396.2 kB / 0.7345 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004355/0.2096, allocations: 334.5 kB / 0.7349 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.436e-05/0.2096, allocations: 32 kB / 0.7349 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005783/0.2102, allocations: 287.4 kB / 0.7352 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.2103, allocations: 91.62 kB / 0.7352 GB, free: 12.82 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002324/0.2105, allocations: 218.9 kB / 0.7355 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0009425/0.2115, allocations: 0.6305 MB / 0.7361 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2115, allocations: 4 kB / 0.7361 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2115, allocations: 4 kB / 0.7361 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.265e-06/0.2115, allocations: 0 / 0.7361 GB, free: 11.97 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001271/0.2128, allocations: 0.7569 MB / 0.7368 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.2128, allocations: 8.031 kB / 0.7368 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.637e-05/0.2129, allocations: 62.72 kB / 0.7369 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001825/0.2131, allocations: 52.7 kB / 0.7369 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007636/0.2138, allocations: 475.8 kB / 0.7374 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.57e-05/0.2139, allocations: 28.67 kB / 0.7374 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.857e-05/0.2139, allocations: 24 kB / 0.7374 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006366/0.2146, allocations: 306.2 kB / 0.7377 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.052e-05/0.2146, allocations: 7.875 kB / 0.7377 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.482e-05/0.2146, allocations: 16 kB / 0.7378 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.065e-05/0.2146, allocations: 11.94 kB / 0.7378 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004987/0.2151, allocations: 198.1 kB / 0.738 GB, free: 9.918 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001939/0.2171, allocations: 1.478 MB / 0.7394 GB, free: 8.312 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004588/0.2175, allocations: 150.6 kB / 0.7395 GB, free: 8.156 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001921/0.2177, allocations: 64.77 kB / 0.7396 GB, free: 8.09 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001528/0.2179, allocations: 85.09 kB / 0.7397 GB, free: 7.988 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003201/0.2182, allocations: 131.2 kB / 0.7398 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 1.503e-06/0.2182, allocations: 4 kB / 0.7398 GB, free: 7.844 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.0007022/0.2189, allocations: 239.8 kB / 0.74 GB, free: 7.605 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.758e-05/0.2189, allocations: 51.41 kB / 0.7401 GB, free: 7.543 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004039/0.2193, allocations: 353.6 kB / 0.7404 GB, free: 7.191 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.68e-05/0.2194, allocations: 33.7 kB / 0.7405 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001692/0.2196, allocations: 216.1 kB / 0.7407 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.531e-05/0.2196, allocations: 55.53 kB / 0.7407 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.449e-05/0.2197, allocations: 61.69 kB / 0.7408 GB, free: 6.816 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.2199, allocations: 334.8 kB / 0.7411 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002084/0.2201, allocations: 71.95 kB / 0.7412 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002505/0.2203, allocations: 143.1 kB / 0.7413 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004609/0.2208, allocations: 245.1 kB / 0.7415 GB, free: 5.961 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2208, allocations: 0 / 0.7415 GB, free: 5.961 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006308/0.2214, allocations: 314.8 kB / 0.7418 GB, free: 5.641 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.787e-05/0.2215, allocations: 41.69 kB / 0.7419 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.311e-06/0.2215, allocations: 0 / 0.7419 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.2215, allocations: 7.938 kB / 0.7419 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00024/0.2217, allocations: 55.91 kB / 0.7419 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.2217, allocations: 4.312 kB / 0.7419 GB, free: 5.527 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002502/0.222, allocations: 43.7 kB / 0.742 GB, free: 5.484 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.607e-05/0.222, allocations: 15.94 kB / 0.742 GB, free: 5.469 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 1 * 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.0001801/0.2222, allocations: 157.7 kB / 0.7421 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.031e-05/0.2223, allocations: 35.81 kB / 0.7422 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004905/0.2227, allocations: 192.5 kB / 0.7424 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.998e-06/0.2228, allocations: 11.94 kB / 0.7424 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.2228, allocations: 0 / 0.7424 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005472/0.2233, allocations: 486.4 kB / 0.7428 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004743/0.2238, allocations: 357.3 kB / 0.7432 GB, free: 4.105 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.2238, allocations: 3.938 kB / 0.7432 GB, free: 4.102 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001723/0.224, allocations: 31.97 kB / 0.7432 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.224, allocations: 0 / 0.7432 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.224, allocations: 4 kB / 0.7432 GB, free: 4.066 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.224, allocations: 15.88 kB / 0.7432 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.224, allocations: 0 / 0.7432 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006573/0.2246, allocations: 284.7 kB / 0.7435 GB, free: 3.754 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00015/0.2248, allocations: 124.9 kB / 0.7436 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.297e-05/0.2248, allocations: 3.938 kB / 0.7436 GB, free: 3.609 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002334/0.2251, allocations: 23.92 kB / 0.7437 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.453e-05/0.2251, allocations: 15.97 kB / 0.7437 GB, free: 3.57 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-05/0.2252, allocations: 8 kB / 0.7437 GB, free: 3.562 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002979/0.2255, allocations: 251.2 kB / 0.7439 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2255, allocations: 0 / 0.7439 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004663/0.2259, allocations: 123.7 kB / 0.744 GB, free: 3.195 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (expVes.m,expVes.H,vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00125/0.2272, allocations: 0.9109 MB / 0.7449 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005466/0.2277, allocations: 222.7 kB / 0.7451 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.2277, allocations: 4.125 kB / 0.7451 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001983/0.2279, allocations: 71.89 kB / 0.7452 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009922/0.2289, allocations: 214.4 kB / 0.7454 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3057/0.5346, allocations: 3.057 MB / 0.7484 GB, free: 33.55 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002256/0.5348, allocations: 0.7899 MB / 0.7492 GB, free: 32.85 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003/0.5351, allocations: 60.36 kB / 0.7492 GB, free: 32.85 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001698/0.5353, allocations: 118 kB / 0.7493 GB, free: 32.84 MB / 0.5606 GB Notification: Performance of SimCode: time 7.82e-07/0.5353, allocations: 2.156 kB / 0.7493 GB, free: 32.84 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04311/0.5784, allocations: 10.34 MB / 0.7594 GB, free: 31.97 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.436/9.015, allocations: 1.344 kB / 0.7594 GB, free: 31.97 MB / 0.5606 GB " [Timeout remaining time 651] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_Examples_ExpansionVessel.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.67380471699289] Failed to read output from testmodel.py, exit status != 0: 9.088191520990222 9.101417216 8.887345574 Calling exit ...