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.0008554/0.0008554, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.0009064/0.0009064, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 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 0.8863/0.8863, allocations: 177.1 MB / 202.8 MB, free: 5.543 MB / 186.7 MB " [Timeout remaining time 179] 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.5387/0.5387, allocations: 110.2 MB / 369.4 MB, free: 12.53 MB / 346.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:44:3-56:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:58:3-65:19:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:67:3-72:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/BoundaryConditions/Scenarios/CombiTimeTable.mo:74:3-79:20:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.5473 GB, free: 8.762 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.438e-05/2.604e-05, allocations: 2.281 kB / 0.5473 GB, free: 8.758 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.01123/0.01125, allocations: 13.39 MB / 0.5603 GB, free: 11.29 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.003832/0.01509, allocations: 3.386 MB / 0.5636 GB, free: 7.895 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004065/0.01549, allocations: 27.75 kB / 0.5637 GB, free: 7.867 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005565/0.01605, allocations: 202.6 kB / 0.5639 GB, free: 7.668 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001204/0.01725, allocations: 0.6448 MB / 0.5645 GB, free: 7.02 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007104/0.01796, allocations: 406 kB / 0.5649 GB, free: 6.625 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001097/0.01906, allocations: 1.106 MB / 0.566 GB, free: 5.516 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003495/0.01941, allocations: 257 kB / 0.5662 GB, free: 5.266 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008723/0.02028, allocations: 0.5173 MB / 0.5667 GB, free: 4.75 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002889/0.02057, allocations: 275.1 kB / 0.567 GB, free: 4.48 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.771e-05/0.02061, allocations: 36 kB / 0.567 GB, free: 4.445 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003669/0.02098, allocations: 223.4 kB / 0.5672 GB, free: 4.227 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 8.965e-05/0.02106, allocations: 107.5 kB / 0.5673 GB, free: 4.121 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00012/0.02118, allocations: 147.7 kB / 0.5675 GB, free: 3.977 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000652/0.02184, allocations: 0.627 MB / 0.5681 GB, free: 3.348 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.02184, allocations: 0 / 0.5681 GB, free: 3.348 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.02184, allocations: 0 / 0.5681 GB, free: 3.348 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.667e-06/0.02185, allocations: 3.938 kB / 0.5681 GB, free: 3.344 MB / 490.7 MB 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.0008617/0.02271, allocations: 0.6893 MB / 0.5688 GB, free: 2.617 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.02275, allocations: 8.031 kB / 0.5688 GB, free: 2.609 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.839e-05/0.02281, allocations: 62.73 kB / 0.5688 GB, free: 2.539 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001376/0.02295, allocations: 52.64 kB / 0.5689 GB, free: 2.488 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005721/0.02352, allocations: 407.9 kB / 0.5693 GB, free: 2.066 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/0.02354, allocations: 24.86 kB / 0.5693 GB, free: 2.043 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.985e-05/0.02358, allocations: 28.38 kB / 0.5693 GB, free: 2.016 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004564/0.02404, allocations: 412.2 kB / 0.5697 GB, free: 1.57 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.02405, allocations: 0 / 0.5697 GB, free: 1.57 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.404e-05/0.02407, allocations: 15.98 kB / 0.5697 GB, free: 1.555 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.731e-05/0.02409, allocations: 11.94 kB / 0.5697 GB, free: 1.543 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000296/0.02439, allocations: 193.8 kB / 0.5699 GB, free: 1.352 MB / 490.7 MB 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.001172/0.02556, allocations: 1.136 MB / 0.571 GB, free: 156 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003163/0.02587, allocations: 150.7 kB / 0.5712 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.988e-05/0.02597, allocations: 68.27 kB / 0.5712 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.681e-05/0.02606, allocations: 7.938 kB / 0.5712 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002259/0.02629, allocations: 230.1 kB / 0.5715 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 1.824e-06/0.02629, allocations: 3.938 kB / 0.5715 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15): time 0.0004015/0.02669, allocations: 239.5 kB / 0.5717 GB, free: 15.42 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/0.02673, allocations: 59.39 kB / 0.5718 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002792/0.02701, allocations: 353.5 kB / 0.5721 GB, free: 15 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.02703, allocations: 29.7 kB / 0.5721 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.02714, allocations: 228 kB / 0.5723 GB, free: 14.73 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.671e-05/0.02718, allocations: 51.53 kB / 0.5724 GB, free: 14.68 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.531e-05/0.02725, allocations: 61.69 kB / 0.5724 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.172e-05/0.02734, allocations: 338.8 kB / 0.5728 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/0.02747, allocations: 101.7 kB / 0.5729 GB, free: 14.17 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001531/0.02762, allocations: 184.8 kB / 0.573 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002523/0.02787, allocations: 241.2 kB / 0.5733 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.02787, allocations: 0 / 0.5733 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003757/0.02825, allocations: 347 kB / 0.5736 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.343e-05/0.02828, allocations: 33.73 kB / 0.5736 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.02829, allocations: 4 kB / 0.5736 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.02831, allocations: 4 kB / 0.5736 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/0.02843, allocations: 55.91 kB / 0.5737 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.02844, allocations: 7.984 kB / 0.5737 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001356/0.02858, allocations: 39.7 kB / 0.5737 GB, free: 13.17 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.804e-05/0.0286, allocations: 12 kB / 0.5738 GB, free: 13.16 MB / 0.4948 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.0001322/0.02873, allocations: 157.7 kB / 0.5739 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.55e-05/0.02877, allocations: 39.8 kB / 0.5739 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002939/0.02906, allocations: 200.3 kB / 0.5741 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.02906, allocations: 0 / 0.5741 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.91e-06/0.02907, allocations: 4 kB / 0.5741 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002915/0.02936, allocations: 483.7 kB / 0.5746 GB, free: 12.19 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002879/0.02965, allocations: 292.5 kB / 0.5749 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.02965, allocations: 4 kB / 0.5749 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.687e-05/0.02974, allocations: 39.92 kB / 0.5749 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.02974, allocations: 0 / 0.5749 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.02975, allocations: 0 / 0.5749 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.02975, allocations: 7.984 kB / 0.5749 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.02975, allocations: 3.938 kB / 0.5749 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003756/0.03013, allocations: 291 kB / 0.5752 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.172e-05/0.03021, allocations: 43.92 kB / 0.5752 GB, free: 11.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.9e-05/0.03024, allocations: 11.98 kB / 0.5753 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.03035, allocations: 19.97 kB / 0.5753 GB, free: 11.44 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.025e-05/0.0304, allocations: 15.97 kB / 0.5753 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.03041, allocations: 7.938 kB / 0.5753 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001787/0.03059, allocations: 251.1 kB / 0.5755 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.1e-08/0.03059, allocations: 0 / 0.5755 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003136/0.0309, allocations: 131.7 kB / 0.5757 GB, free: 11.04 MB / 0.4948 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.0007438/0.03165, allocations: 0.9049 MB / 0.5766 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003247/0.03197, allocations: 252.8 kB / 0.5768 GB, free: 9.844 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.03197, allocations: 0 / 0.5768 GB, free: 9.844 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 9.839e-05/0.03207, allocations: 64.58 kB / 0.5769 GB, free: 9.781 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005567/0.03263, allocations: 218.3 kB / 0.5771 GB, free: 9.578 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002972/0.0356, allocations: 3.095 MB / 0.5801 GB, free: 6.312 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001278/0.03573, allocations: 185.8 kB / 0.5803 GB, free: 6.117 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002305/0.03596, allocations: 71.12 kB / 0.5803 GB, free: 6.043 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001264/0.03609, allocations: 120.4 kB / 0.5804 GB, free: 5.926 MB / 0.4948 GB Notification: Performance of SimCode: time 1.072e-06/0.03609, allocations: 4 kB / 0.5804 GB, free: 5.922 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02548/0.06157, allocations: 11.77 MB / 0.5919 GB, free: 10.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.01/7.072, allocations: 4.062 kB / 0.5919 GB, free: 10.49 MB / 0.5105 GB " [Timeout remaining time 653] (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: 9.531178715638816] Failed to read output from testmodel.py, exit status != 0: 7.157513538375497 7.16548019 7.141863472 Calling exit ...