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.001737/0.001737, 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.002116/0.002116, allocations: 215.9 kB / 22.25 MB, free: 4.852 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.528/1.528, allocations: 230.6 MB / 256 MB, free: 7.797 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.9768/0.9768, allocations: 145 MB / 457.4 MB, free: 15.25 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.002043/0.002043, allocations: 75.36 kB / 0.6331 GB, free: 6.691 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1779/0.1799, allocations: 87.88 MB / 0.7189 GB, free: 14.82 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.01764/0.1975, allocations: 13.47 MB / 0.7321 GB, free: 1.281 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00608/0.2036, allocations: 3.397 MB / 0.7354 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005606/0.2042, allocations: 27.81 kB / 0.7354 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007055/0.2049, allocations: 198.6 kB / 0.7356 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001622/0.2065, allocations: 0.622 MB / 0.7362 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001032/0.2075, allocations: 414.3 kB / 0.7366 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001504/0.209, allocations: 1.106 MB / 0.7377 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004541/0.2095, allocations: 261.7 kB / 0.7379 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001111/0.2106, allocations: 399.4 kB / 0.7383 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005007/0.2111, allocations: 310.6 kB / 0.7386 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.549e-05/0.2112, allocations: 35.94 kB / 0.7386 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005748/0.2117, allocations: 219.6 kB / 0.7388 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001284/0.2119, allocations: 95.56 kB / 0.7389 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002118/0.2121, allocations: 187.2 kB / 0.7391 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0009236/0.213, allocations: 0.6305 MB / 0.7397 GB, free: 9.402 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.213, allocations: 0 / 0.7397 GB, free: 9.402 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.593e-06/0.213, allocations: 0 / 0.7397 GB, free: 9.402 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.213, allocations: 0 / 0.7397 GB, free: 9.402 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.001202/0.2142, allocations: 0.6855 MB / 0.7404 GB, free: 8.676 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.2143, allocations: 11.97 kB / 0.7404 GB, free: 8.664 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.373e-05/0.2143, allocations: 58.73 kB / 0.7405 GB, free: 8.598 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001821/0.2145, allocations: 52.69 kB / 0.7405 GB, free: 8.547 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008043/0.2153, allocations: 400.8 kB / 0.7409 GB, free: 8.133 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.435e-05/0.2153, allocations: 28.61 kB / 0.7409 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.876e-05/0.2154, allocations: 24 kB / 0.7409 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006717/0.2161, allocations: 416 kB / 0.7413 GB, free: 7.629 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.2161, allocations: 0 / 0.7413 GB, free: 7.629 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.467e-05/0.2161, allocations: 15.98 kB / 0.7414 GB, free: 7.613 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.731e-05/0.2161, allocations: 4 kB / 0.7414 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004809/0.2166, allocations: 193.8 kB / 0.7415 GB, free: 7.422 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.001846/0.2185, allocations: 1.146 MB / 0.7427 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004751/0.2189, allocations: 150.6 kB / 0.7428 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001831/0.2191, allocations: 69.02 kB / 0.7429 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001126/0.2192, allocations: 15.98 kB / 0.7429 GB, free: 5.969 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003731/0.2196, allocations: 238 kB / 0.7431 GB, free: 5.699 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 1.553e-06/0.2196, allocations: 0 / 0.7431 GB, free: 5.699 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.0006617/0.2203, allocations: 229.3 kB / 0.7433 GB, free: 5.469 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/0.2203, allocations: 59.41 kB / 0.7434 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000409/0.2207, allocations: 353.6 kB / 0.7437 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.939e-05/0.2208, allocations: 25.7 kB / 0.7438 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001925/0.221, allocations: 228 kB / 0.744 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.582e-05/0.221, allocations: 47.59 kB / 0.744 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.657e-05/0.2211, allocations: 61.64 kB / 0.7441 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.2213, allocations: 338.8 kB / 0.7444 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002245/0.2215, allocations: 101.6 kB / 0.7445 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002831/0.2218, allocations: 184 kB / 0.7447 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004397/0.2222, allocations: 239 kB / 0.7449 GB, free: 3.738 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.2222, allocations: 4 kB / 0.7449 GB, free: 3.734 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006774/0.2229, allocations: 346.2 kB / 0.7452 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.167e-05/0.2229, allocations: 29.7 kB / 0.7453 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.2229, allocations: 4 kB / 0.7453 GB, free: 3.34 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/0.223, allocations: 12.25 kB / 0.7453 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000241/0.2232, allocations: 59.89 kB / 0.7453 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.2232, allocations: 4 kB / 0.7453 GB, free: 3.266 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002559/0.2235, allocations: 35.77 kB / 0.7454 GB, free: 3.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.651e-05/0.2235, allocations: 12 kB / 0.7454 GB, free: 3.219 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.0001793/0.2237, allocations: 157.8 kB / 0.7455 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.4e-05/0.2238, allocations: 35.77 kB / 0.7456 GB, free: 3.02 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005181/0.2243, allocations: 202.8 kB / 0.7458 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.2243, allocations: 3.938 kB / 0.7458 GB, free: 2.812 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.2243, allocations: 4 kB / 0.7458 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005596/0.2248, allocations: 483.7 kB / 0.7462 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004452/0.2253, allocations: 288.6 kB / 0.7465 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.2253, allocations: 0 / 0.7465 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001676/0.2255, allocations: 31.92 kB / 0.7465 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.2255, allocations: 0 / 0.7465 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.793e-05/0.2255, allocations: 7.984 kB / 0.7465 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.218e-05/0.2255, allocations: 7.938 kB / 0.7465 GB, free: 1.879 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2255, allocations: 0 / 0.7465 GB, free: 1.879 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006498/0.2261, allocations: 283.7 kB / 0.7468 GB, free: 1.586 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001351/0.2263, allocations: 47.77 kB / 0.7469 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.03e-05/0.2263, allocations: 11.92 kB / 0.7469 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002417/0.2266, allocations: 27.92 kB / 0.7469 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.476e-05/0.2266, allocations: 15.97 kB / 0.7469 GB, free: 1.484 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-05/0.2267, allocations: 8 kB / 0.7469 GB, free: 1.477 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002849/0.2269, allocations: 247.2 kB / 0.7472 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2269, allocations: 0 / 0.7472 GB, free: 1.238 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004524/0.2274, allocations: 127.7 kB / 0.7473 GB, free: 1.113 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.001172/0.2286, allocations: 0.9128 MB / 0.7482 GB, free: 172 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.3409/0.5695, allocations: 245.7 kB / 0.7484 GB, free: 31.5 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/0.5695, allocations: 0 / 0.7484 GB, free: 31.5 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002714/0.5697, allocations: 69.09 kB / 0.7485 GB, free: 31.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001095/0.5708, allocations: 207 kB / 0.7487 GB, free: 31.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003953/0.5748, allocations: 3.179 MB / 0.7518 GB, free: 29.85 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002135/0.575, allocations: 188 kB / 0.752 GB, free: 29.76 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002942/0.5753, allocations: 66.78 kB / 0.752 GB, free: 29.75 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001684/0.5755, allocations: 116.5 kB / 0.7521 GB, free: 29.74 MB / 0.5606 GB Notification: Performance of SimCode: time 1.152e-06/0.5755, allocations: 0 / 0.7521 GB, free: 29.74 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06226/0.6377, allocations: 11.65 MB / 0.7635 GB, free: 27.97 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.73/12.36, allocations: 10.88 kB / 0.7635 GB, free: 27.96 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: 16.314738682936877] Failed to read output from testmodel.py, exit status != 0: 12.481017604935914 12.496441346 12.280788655 Calling exit ...