Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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.0008942/0.0008942, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008952/0.0008952, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8992/0.8992, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.559/0.559, allocations: 110.2 MB / 369.4 MB, free: 12.62 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.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 0.5473 GB, free: 9.828 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.372e-05/3.579e-05, allocations: 2.281 kB / 0.5473 GB, free: 9.824 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.03328/0.03332, allocations: 38.1 MB / 0.5845 GB, free: 3.582 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.01224/0.04556, allocations: 9.685 MB / 0.5939 GB, free: 9.867 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002083/0.04764, allocations: 83.25 kB / 0.594 GB, free: 9.785 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001737/0.04937, allocations: 0.6363 MB / 0.5946 GB, free: 9.145 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.005262/0.05464, allocations: 2.055 MB / 0.5966 GB, free: 7.078 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002878/0.05752, allocations: 1.252 MB / 0.5979 GB, free: 5.836 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.004138/0.06165, allocations: 3.479 MB / 0.6013 GB, free: 2.348 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001195/0.06285, allocations: 0.8027 MB / 0.6021 GB, free: 1.52 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003038/0.06589, allocations: 1.711 MB / 0.6037 GB, free: 15.81 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001235/0.06712, allocations: 0.7982 MB / 0.6045 GB, free: 15.01 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001383/0.06726, allocations: 100 kB / 0.6046 GB, free: 14.91 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001482/0.06874, allocations: 0.7285 MB / 0.6053 GB, free: 14.18 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002397/0.06898, allocations: 302.7 kB / 0.6056 GB, free: 13.88 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0004279/0.06941, allocations: 435 kB / 0.606 GB, free: 13.46 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.002624/0.07203, allocations: 2.06 MB / 0.608 GB, free: 11.39 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.07204, allocations: 4 kB / 0.608 GB, free: 11.39 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.023e-06/0.07204, allocations: 0 / 0.608 GB, free: 11.39 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.871e-05/0.07206, allocations: 0 / 0.608 GB, free: 11.39 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.001972/0.07403, allocations: 1.469 MB / 0.6095 GB, free: 9.879 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.07408, allocations: 11.97 kB / 0.6095 GB, free: 9.867 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001007/0.07418, allocations: 114.7 kB / 0.6096 GB, free: 9.746 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002627/0.07444, allocations: 140.1 kB / 0.6097 GB, free: 9.609 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001286/0.07573, allocations: 1.048 MB / 0.6107 GB, free: 8.531 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.422e-05/0.07576, allocations: 58.12 kB / 0.6108 GB, free: 8.473 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.792e-05/0.07584, allocations: 75.94 kB / 0.6109 GB, free: 8.398 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009486/0.07679, allocations: 0.945 MB / 0.6118 GB, free: 7.383 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.0768, allocations: 0 / 0.6118 GB, free: 7.383 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.306e-05/0.07685, allocations: 31.98 kB / 0.6118 GB, free: 7.352 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.573e-05/0.07687, allocations: 20 kB / 0.6118 GB, free: 7.332 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006877/0.07756, allocations: 0.5711 MB / 0.6124 GB, free: 6.762 MB / 0.573 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.002586/0.08015, allocations: 2.733 MB / 0.6151 GB, free: 3.934 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004752/0.08062, allocations: 257.4 kB / 0.6153 GB, free: 3.676 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002156/0.08084, allocations: 164.7 kB / 0.6155 GB, free: 3.512 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001692/0.08101, allocations: 63.95 kB / 0.6155 GB, free: 3.449 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.08103, allocations: 34.56 kB / 0.6156 GB, free: 3.406 MB / 0.573 GB Notification: Performance of pre-optimization done (n=31): time 2.395e-06/0.08103, allocations: 0 / 0.6156 GB, free: 3.406 MB / 0.573 GB Notification: Performance of matching and sorting (n=31): time 0.0007502/0.08178, allocations: 0.5169 MB / 0.6161 GB, free: 2.883 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.715e-05/0.08182, allocations: 59.41 kB / 0.6161 GB, free: 2.812 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009351/0.08275, allocations: 0.9572 MB / 0.6171 GB, free: 1.836 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 2.978e-05/0.08278, allocations: 33.7 kB / 0.6171 GB, free: 1.797 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002762/0.08306, allocations: 0.5043 MB / 0.6176 GB, free: 1.285 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 7.935e-05/0.08314, allocations: 119 kB / 0.6177 GB, free: 1.168 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.08325, allocations: 114.2 kB / 0.6178 GB, free: 1.051 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 8.453e-05/0.08334, allocations: 333.9 kB / 0.6181 GB, free: 0.7188 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000203/0.08354, allocations: 169.2 kB / 0.6183 GB, free: 0.5547 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000345/0.08388, allocations: 0.4903 MB / 0.6188 GB, free: 15.95 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004902/0.08438, allocations: 0.5193 MB / 0.6193 GB, free: 15.36 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.08438, allocations: 0 / 0.6193 GB, free: 15.36 MB / 0.5886 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.000714/0.08509, allocations: 0.6298 MB / 0.6199 GB, free: 14.73 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.08511, allocations: 8 kB / 0.6199 GB, free: 14.72 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/0.08512, allocations: 4 kB / 0.6199 GB, free: 14.71 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.247e-05/0.08515, allocations: 8 kB / 0.6199 GB, free: 14.71 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002626/0.08541, allocations: 123.8 kB / 0.62 GB, free: 14.59 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.375e-05/0.08542, allocations: 19.86 kB / 0.62 GB, free: 14.57 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003811/0.0858, allocations: 79.48 kB / 0.6201 GB, free: 14.49 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.222e-05/0.08584, allocations: 24 kB / 0.6201 GB, free: 14.46 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * 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.0005542/0.08639, allocations: 281.6 kB / 0.6204 GB, free: 14.18 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.08649, allocations: 107.3 kB / 0.6205 GB, free: 14.07 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006153/0.08711, allocations: 488.6 kB / 0.621 GB, free: 13.6 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.808e-06/0.08712, allocations: 4.062 kB / 0.621 GB, free: 13.6 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.08713, allocations: 4 kB / 0.621 GB, free: 13.59 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004159/0.08754, allocations: 461.8 kB / 0.6214 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001395/0.08894, allocations: 1.242 MB / 0.6226 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.08894, allocations: 4.031 kB / 0.6226 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001957/0.08914, allocations: 79.88 kB / 0.6227 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.08914, allocations: 4 kB / 0.6227 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.752e-05/0.08916, allocations: 8 kB / 0.6227 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.6e-06/0.08917, allocations: 3.938 kB / 0.6227 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.08917, allocations: 4 kB / 0.6227 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007921/0.08996, allocations: 0.776 MB / 0.6235 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002399/0.0902, allocations: 155.1 kB / 0.6236 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.477e-05/0.09026, allocations: 8 kB / 0.6237 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002532/0.09052, allocations: 31.91 kB / 0.6237 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.447e-05/0.09057, allocations: 23.95 kB / 0.6237 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.025e-05/0.0906, allocations: 19.98 kB / 0.6237 GB, free: 10.67 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0005681/0.09117, allocations: 0.6706 MB / 0.6244 GB, free: 9.988 MB / 0.5886 GB Notification: Performance of sort global known variables: time 9e-08/0.09117, allocations: 0 / 0.6244 GB, free: 9.988 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0007274/0.0919, allocations: 335.3 kB / 0.6247 GB, free: 9.66 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * 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.001431/0.09333, allocations: 1.606 MB / 0.6263 GB, free: 8.016 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0005623/0.09389, allocations: 413.2 kB / 0.6267 GB, free: 7.613 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.09389, allocations: 0 / 0.6267 GB, free: 7.613 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002157/0.09411, allocations: 176.5 kB / 0.6268 GB, free: 7.441 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001741/0.09585, allocations: 0.6118 MB / 0.6274 GB, free: 6.84 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007263/0.1031, allocations: 6.812 MB / 0.6341 GB, free: 15.73 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005624/0.1037, allocations: 449.3 kB / 0.6345 GB, free: 15.26 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0006348/0.1043, allocations: 202 kB / 0.6347 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003379/0.1046, allocations: 372.4 kB / 0.6351 GB, free: 14.7 MB / 0.6042 GB Notification: Performance of SimCode: time 1.443e-06/0.1046, allocations: 0 / 0.6351 GB, free: 14.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05166/0.1563, allocations: 33 MB / 0.6673 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.574/7.73, allocations: 13.91 kB / 0.6673 GB, free: 14.39 MB / 0.6355 GB " [Timeout remaining time 652] (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.321949183009565] Failed to read output from testmodel.py, exit status != 0: 7.826284169219434 7.83320796 7.759295136 Calling exit ...