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.001399/0.001399, allocations: 110.4 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.001756/0.001756, allocations: 217.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.467/1.467, 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.9037/0.9037, allocations: 145 MB / 457.4 MB, free: 15.48 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.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.002941/0.002941, allocations: 74.33 kB / 0.6332 GB, free: 7.289 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1746/0.1776, allocations: 87.87 MB / 0.719 GB, free: 15.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.01826/0.1958, allocations: 14.77 MB / 0.7334 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006382/0.2022, allocations: 3.671 MB / 0.737 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000609/0.2028, allocations: 27.81 kB / 0.737 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006998/0.2035, allocations: 206.7 kB / 0.7372 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001887/0.2054, allocations: 0.6259 MB / 0.7378 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001081/0.2065, allocations: 416.4 kB / 0.7382 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001598/0.2081, allocations: 1.122 MB / 0.7393 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004744/0.2086, allocations: 253.8 kB / 0.7396 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001127/0.2097, allocations: 417.3 kB / 0.74 GB, free: 9.832 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005191/0.2102, allocations: 326.6 kB / 0.7403 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.551e-05/0.2103, allocations: 32 kB / 0.7403 GB, free: 9.48 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006457/0.2109, allocations: 291.4 kB / 0.7406 GB, free: 9.195 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001242/0.211, allocations: 95.61 kB / 0.7407 GB, free: 9.102 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002434/0.2113, allocations: 218.9 kB / 0.7409 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0009523/0.2122, allocations: 0.6304 MB / 0.7415 GB, free: 8.258 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2122, allocations: 0 / 0.7415 GB, free: 8.258 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2122, allocations: 4 kB / 0.7415 GB, free: 8.254 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.907e-06/0.2122, allocations: 0 / 0.7415 GB, free: 8.254 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.001216/0.2134, allocations: 0.6932 MB / 0.7422 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.2135, allocations: 8.031 kB / 0.7422 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.992e-05/0.2136, allocations: 66.72 kB / 0.7422 GB, free: 7.438 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000185/0.2138, allocations: 44.7 kB / 0.7423 GB, free: 7.395 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000763/0.2145, allocations: 416.7 kB / 0.7427 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.541e-05/0.2145, allocations: 20.62 kB / 0.7427 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.655e-05/0.2146, allocations: 28 kB / 0.7427 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006035/0.2152, allocations: 313.2 kB / 0.743 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.2152, allocations: 0 / 0.743 GB, free: 6.59 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.363e-05/0.2153, allocations: 12 kB / 0.743 GB, free: 6.578 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.976e-05/0.2153, allocations: 4 kB / 0.743 GB, free: 6.574 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004723/0.2157, allocations: 197.8 kB / 0.7432 GB, free: 6.383 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.001988/0.2177, allocations: 1.429 MB / 0.7446 GB, free: 4.84 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004478/0.2182, allocations: 146.6 kB / 0.7448 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001742/0.2184, allocations: 64.81 kB / 0.7448 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001167/0.2185, allocations: 15.98 kB / 0.7448 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000319/0.2188, allocations: 123.3 kB / 0.745 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 1.894e-06/0.2188, allocations: 0 / 0.745 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.00065/0.2194, allocations: 235.9 kB / 0.7452 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.2195, allocations: 59.41 kB / 0.7452 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004015/0.2199, allocations: 357.6 kB / 0.7456 GB, free: 3.812 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.12e-05/0.2199, allocations: 29.7 kB / 0.7456 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000187/0.2201, allocations: 220.1 kB / 0.7458 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.415e-05/0.2202, allocations: 51.53 kB / 0.7459 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.739e-05/0.2202, allocations: 53.69 kB / 0.7459 GB, free: 3.449 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.2204, allocations: 338.8 kB / 0.7462 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001987/0.2206, allocations: 71.95 kB / 0.7463 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002454/0.2208, allocations: 150.4 kB / 0.7465 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004385/0.2213, allocations: 257.2 kB / 0.7467 GB, free: 2.57 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.277e-06/0.2213, allocations: 3.938 kB / 0.7467 GB, free: 2.566 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006341/0.2219, allocations: 315.1 kB / 0.747 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.845e-05/0.222, allocations: 29.7 kB / 0.747 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.222, allocations: 4 kB / 0.747 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/0.222, allocations: 7.938 kB / 0.747 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002374/0.2222, allocations: 55.91 kB / 0.7471 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.2222, allocations: 11.88 kB / 0.7471 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000275/0.2225, allocations: 35.83 kB / 0.7471 GB, free: 2.098 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.502e-05/0.2225, allocations: 8 kB / 0.7472 GB, free: 2.09 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.0002132/0.2228, allocations: 169.7 kB / 0.7473 GB, free: 1.914 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.411e-05/0.2228, allocations: 31.81 kB / 0.7473 GB, free: 1.883 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004835/0.2233, allocations: 192.4 kB / 0.7475 GB, free: 1.688 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.421e-06/0.2233, allocations: 3.938 kB / 0.7475 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.2233, allocations: 0 / 0.7475 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005156/0.2238, allocations: 491.7 kB / 0.748 GB, free: 1.117 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004866/0.2243, allocations: 328.4 kB / 0.7483 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.2243, allocations: 0 / 0.7483 GB, free: 0.7539 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001686/0.2245, allocations: 35.97 kB / 0.7484 GB, free: 0.7188 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.2245, allocations: 0 / 0.7484 GB, free: 0.7188 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.2245, allocations: 0 / 0.7484 GB, free: 0.7188 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.608e-06/0.2245, allocations: 3.938 kB / 0.7484 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2245, allocations: 4 kB / 0.7484 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006126/0.2251, allocations: 292.9 kB / 0.7486 GB, free: 420 kB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000133/0.2253, allocations: 47.83 kB / 0.7487 GB, free: 372 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.728e-05/0.2253, allocations: 4 kB / 0.7487 GB, free: 368 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002225/0.2255, allocations: 15.92 kB / 0.7487 GB, free: 352 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.317e-05/0.2256, allocations: 19.97 kB / 0.7487 GB, free: 332 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.962e-05/0.2256, allocations: 7.984 kB / 0.7487 GB, free: 324 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002703/0.2259, allocations: 255.2 kB / 0.749 GB, free: 76 kB / 0.5606 GB Notification: Performance of sort global known variables: time 6.1e-08/0.2259, allocations: 0 / 0.749 GB, free: 76 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.3566/0.5825, allocations: 117.6 kB / 0.7491 GB, free: 31.84 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.001146/0.5837, allocations: 0.9059 MB / 0.75 GB, free: 31.25 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005138/0.5842, allocations: 215.3 kB / 0.7502 GB, free: 31.19 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.5842, allocations: 0.875 kB / 0.7502 GB, free: 31.19 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001636/0.5843, allocations: 68.67 kB / 0.7502 GB, free: 31.19 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000951/0.5853, allocations: 222.6 kB / 0.7505 GB, free: 31.19 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00381/0.5891, allocations: 3.073 MB / 0.7535 GB, free: 29.67 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002288/0.5893, allocations: 0.79 MB / 0.7542 GB, free: 28.97 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00026/0.5896, allocations: 64.88 kB / 0.7543 GB, free: 28.95 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001525/0.5898, allocations: 116.5 kB / 0.7544 GB, free: 28.94 MB / 0.5606 GB Notification: Performance of SimCode: time 5.41e-07/0.5898, allocations: 0 / 0.7544 GB, free: 28.94 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04602/0.6358, allocations: 10.58 MB / 0.7647 GB, free: 27.79 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.83, allocations: 3.156 kB / 0.7647 GB, free: 27.79 MB / 0.5606 GB " [Timeout remaining time 648] (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: 15.664672228998825] Failed to read output from testmodel.py, exit status != 0: 11.93811764199927 11.961785718 11.744803235 Calling exit ...