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.0008967/0.0008967, allocations: 79.69 kB / 19.26 MB, free: 0.6172 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.001016/0.001016, allocations: 162 kB / 22.56 MB, free: 1.961 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.9335/0.9335, allocations: 177.1 MB / 202.9 MB, free: 5.703 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.545/0.545, allocations: 110.2 MB / 369.6 MB, free: 12.59 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 2.044e-06/2.044e-06, allocations: 0 / 0.5475 GB, free: 8.68 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.297e-05/2.502e-05, allocations: 10.22 kB / 0.5475 GB, free: 8.668 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.Examples.ExpansionVessel): time 0.01285/0.01287, allocations: 13.39 MB / 0.5605 GB, free: 11.21 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.004351/0.01722, allocations: 3.394 MB / 0.5638 GB, free: 7.805 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005745/0.0178, allocations: 23.81 kB / 0.5639 GB, free: 7.781 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000668/0.01846, allocations: 202.6 kB / 0.5641 GB, free: 7.582 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001496/0.01996, allocations: 0.6487 MB / 0.5647 GB, free: 6.93 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000823/0.02078, allocations: 402.9 kB / 0.5651 GB, free: 6.535 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.001353/0.02214, allocations: 1.102 MB / 0.5662 GB, free: 5.43 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004763/0.02261, allocations: 264.9 kB / 0.5664 GB, free: 5.172 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001102/0.02371, allocations: 0.5206 MB / 0.5669 GB, free: 4.652 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003283/0.02404, allocations: 271.1 kB / 0.5672 GB, free: 4.387 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 5.255e-05/0.0241, allocations: 36 kB / 0.5672 GB, free: 4.352 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004767/0.02457, allocations: 223.4 kB / 0.5674 GB, free: 4.133 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 9.456e-05/0.02467, allocations: 103.5 kB / 0.5675 GB, free: 4.031 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001396/0.02481, allocations: 139.7 kB / 0.5677 GB, free: 3.895 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007637/0.02557, allocations: 0.6387 MB / 0.5683 GB, free: 3.254 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.02558, allocations: 0 / 0.5683 GB, free: 3.254 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.02558, allocations: 4 kB / 0.5683 GB, free: 3.25 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.233e-06/0.02558, allocations: 0 / 0.5683 GB, free: 3.25 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.0009166/0.0265, allocations: 0.6776 MB / 0.5689 GB, free: 2.535 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.02654, allocations: 12.03 kB / 0.569 GB, free: 2.523 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.15e-05/0.02659, allocations: 66.7 kB / 0.569 GB, free: 2.449 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001435/0.02674, allocations: 52.59 kB / 0.5691 GB, free: 2.398 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005953/0.02733, allocations: 424 kB / 0.5695 GB, free: 1.961 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.02735, allocations: 20.88 kB / 0.5695 GB, free: 1.941 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.094e-05/0.02739, allocations: 28.38 kB / 0.5695 GB, free: 1.914 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004632/0.02786, allocations: 412.2 kB / 0.5699 GB, free: 1.469 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.02788, allocations: 7.938 kB / 0.5699 GB, free: 1.461 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/0.0279, allocations: 11.98 kB / 0.5699 GB, free: 1.449 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.95e-05/0.02792, allocations: 11.98 kB / 0.5699 GB, free: 1.438 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003015/0.02822, allocations: 189.8 kB / 0.5701 GB, free: 1.25 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.001268/0.02949, allocations: 1.158 MB / 0.5713 GB, free: 28 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003266/0.02981, allocations: 138.7 kB / 0.5714 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.598e-05/0.02991, allocations: 68.75 kB / 0.5715 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001127/0.03002, allocations: 15.98 kB / 0.5715 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002349/0.03026, allocations: 222.1 kB / 0.5717 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 1.853e-06/0.03026, allocations: 4 kB / 0.5717 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15): time 0.0004274/0.03069, allocations: 237.2 kB / 0.5719 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/0.03073, allocations: 51.41 kB / 0.572 GB, free: 15.24 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002906/0.03102, allocations: 365.5 kB / 0.5723 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/0.03104, allocations: 37.64 kB / 0.5723 GB, free: 14.83 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.03116, allocations: 220.1 kB / 0.5726 GB, free: 14.61 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.197e-05/0.0312, allocations: 59.44 kB / 0.5726 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.637e-05/0.03127, allocations: 53.7 kB / 0.5727 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 9.639e-05/0.03137, allocations: 346.8 kB / 0.573 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/0.0315, allocations: 93.66 kB / 0.5731 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000154/0.03165, allocations: 176.8 kB / 0.5733 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002565/0.03191, allocations: 249.5 kB / 0.5735 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.03191, allocations: 0 / 0.5735 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003957/0.03231, allocations: 340.5 kB / 0.5738 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.648e-05/0.03235, allocations: 37.69 kB / 0.5739 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.03235, allocations: 0 / 0.5739 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.03237, allocations: 4 kB / 0.5739 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/0.03251, allocations: 59.91 kB / 0.5739 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.03252, allocations: 4.312 kB / 0.5739 GB, free: 13.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001634/0.03268, allocations: 47.64 kB / 0.574 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.915e-05/0.0327, allocations: 8 kB / 0.574 GB, free: 13.04 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.000137/0.03284, allocations: 161.8 kB / 0.5741 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.8e-05/0.03288, allocations: 31.81 kB / 0.5742 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003238/0.0332, allocations: 188.4 kB / 0.5743 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.0332, allocations: 4 kB / 0.5743 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.03321, allocations: 4 kB / 0.5743 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003172/0.03353, allocations: 491.7 kB / 0.5748 GB, free: 12.08 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003458/0.03387, allocations: 292.5 kB / 0.5751 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.03388, allocations: 0 / 0.5751 GB, free: 11.75 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.555e-05/0.03398, allocations: 35.91 kB / 0.5751 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.03398, allocations: 0 / 0.5751 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.034, allocations: 8 kB / 0.5751 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.034, allocations: 0 / 0.5751 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.034, allocations: 0 / 0.5751 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004042/0.0344, allocations: 288.6 kB / 0.5754 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.03451, allocations: 55.91 kB / 0.5755 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.933e-05/0.03453, allocations: 0 / 0.5755 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.03465, allocations: 19.92 kB / 0.5755 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.063e-05/0.03471, allocations: 19.91 kB / 0.5755 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.819e-05/0.03473, allocations: 15.92 kB / 0.5755 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001922/0.03492, allocations: 247.2 kB / 0.5758 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9e-08/0.03492, allocations: 4 kB / 0.5758 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000344/0.03527, allocations: 123.7 kB / 0.5759 GB, free: 10.93 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.0007841/0.03605, allocations: 0.9097 MB / 0.5768 GB, free: 10 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003592/0.03641, allocations: 257.2 kB / 0.577 GB, free: 9.73 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.03641, allocations: 0 / 0.577 GB, free: 9.73 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.03652, allocations: 59.91 kB / 0.5771 GB, free: 9.672 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006139/0.03713, allocations: 217.1 kB / 0.5773 GB, free: 9.469 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003028/0.04016, allocations: 3.098 MB / 0.5803 GB, free: 6.203 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001257/0.04028, allocations: 181.8 kB / 0.5805 GB, free: 6.012 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0002565/0.04054, allocations: 75.11 kB / 0.5805 GB, free: 5.934 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001347/0.04067, allocations: 116.5 kB / 0.5807 GB, free: 5.82 MB / 0.4948 GB Notification: Performance of SimCode: time 1.833e-06/0.04068, allocations: 0 / 0.5807 GB, free: 5.82 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0302/0.07088, allocations: 11.77 MB / 0.5921 GB, free: 10.38 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.32/7.391, allocations: 16.88 kB / 0.5922 GB, free: 10.37 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: 10.005128340795636] Failed to read output from testmodel.py, exit status != 0: 7.480524309910834 7.497251741 7.4683782 Calling exit ...