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.000907/0.000907, allocations: 76.45 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.0009032/0.0009032, 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.882/0.882, allocations: 177.2 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.5425/0.5425, allocations: 110.2 MB / 369.4 MB, free: 12.63 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 1.613e-06/1.613e-06, allocations: 0 / 0.5473 GB, free: 8.77 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.518e-05/1.679e-05, allocations: 2.281 kB / 0.5473 GB, free: 8.766 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.02776/0.02778, allocations: 38.08 MB / 0.5845 GB, free: 2.543 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.01216/0.03994, allocations: 9.692 MB / 0.5939 GB, free: 8.824 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001492/0.04143, allocations: 79.31 kB / 0.594 GB, free: 8.746 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001283/0.04271, allocations: 0.6441 MB / 0.5946 GB, free: 8.098 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.003619/0.04633, allocations: 2.051 MB / 0.5967 GB, free: 6.035 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.002428/0.04876, allocations: 1.266 MB / 0.5979 GB, free: 4.781 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.003332/0.05209, allocations: 3.464 MB / 0.6013 GB, free: 1.301 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001191/0.05328, allocations: 0.8144 MB / 0.6021 GB, free: 476 kB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002748/0.05603, allocations: 1.707 MB / 0.6037 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001267/0.0573, allocations: 0.7982 MB / 0.6045 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001563/0.05745, allocations: 100 kB / 0.6046 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001285/0.05874, allocations: 0.7285 MB / 0.6053 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002064/0.05894, allocations: 306.7 kB / 0.6056 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0004171/0.05936, allocations: 431 kB / 0.606 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.002051/0.06141, allocations: 2.056 MB / 0.608 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 7.794e-06/0.06142, allocations: 4 kB / 0.608 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.024e-06/0.06142, allocations: 0 / 0.608 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.748e-05/0.06146, allocations: 0 / 0.608 GB, free: 10.34 MB / 0.5261 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.001911/0.06337, allocations: 1.467 MB / 0.6095 GB, free: 8.84 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.06341, allocations: 8.031 kB / 0.6095 GB, free: 8.832 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.707e-05/0.06351, allocations: 118.7 kB / 0.6096 GB, free: 8.707 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002406/0.06375, allocations: 148.1 kB / 0.6097 GB, free: 8.562 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001253/0.065, allocations: 1.044 MB / 0.6107 GB, free: 7.484 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.691e-05/0.06504, allocations: 62.12 kB / 0.6108 GB, free: 7.426 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.012e-05/0.06512, allocations: 72 kB / 0.6109 GB, free: 7.355 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009532/0.06607, allocations: 0.9372 MB / 0.6118 GB, free: 6.344 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/0.06609, allocations: 3.984 kB / 0.6118 GB, free: 6.34 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.218e-05/0.06613, allocations: 32 kB / 0.6118 GB, free: 6.309 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.217e-05/0.06616, allocations: 27.92 kB / 0.6119 GB, free: 6.281 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006756/0.06684, allocations: 0.5672 MB / 0.6124 GB, free: 5.715 MB / 0.5261 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.002603/0.06944, allocations: 2.741 MB / 0.6151 GB, free: 2.879 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004476/0.06989, allocations: 238.4 kB / 0.6153 GB, free: 2.637 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002112/0.0701, allocations: 164.8 kB / 0.6155 GB, free: 2.473 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002063/0.07031, allocations: 64.48 kB / 0.6155 GB, free: 2.41 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.07034, allocations: 38.56 kB / 0.6156 GB, free: 2.363 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=31): time 2.224e-06/0.07034, allocations: 3.938 kB / 0.6156 GB, free: 2.359 MB / 0.5261 GB Notification: Performance of matching and sorting (n=31): time 0.0008107/0.07115, allocations: 0.5203 MB / 0.6161 GB, free: 1.832 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.0712, allocations: 55.41 kB / 0.6161 GB, free: 1.766 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008611/0.07206, allocations: 0.9495 MB / 0.6171 GB, free: 0.7969 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.922e-05/0.0721, allocations: 33.7 kB / 0.6171 GB, free: 0.7578 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003232/0.07242, allocations: 0.5043 MB / 0.6176 GB, free: 256 kB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.538e-05/0.0725, allocations: 119 kB / 0.6177 GB, free: 136 kB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/0.07263, allocations: 114.2 kB / 0.6178 GB, free: 16 kB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0005779/0.0732, allocations: 333.9 kB / 0.6181 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002285/0.07343, allocations: 169.2 kB / 0.6183 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000395/0.07383, allocations: 0.4941 MB / 0.6188 GB, free: 14.91 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005931/0.07442, allocations: 0.5194 MB / 0.6193 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.07443, allocations: 0 / 0.6193 GB, free: 14.32 MB / 0.5417 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.000758/0.07518, allocations: 0.6174 MB / 0.6199 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/0.07521, allocations: 8.688 kB / 0.6199 GB, free: 13.69 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.07522, allocations: 4 kB / 0.6199 GB, free: 13.69 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.379e-05/0.07524, allocations: 12 kB / 0.6199 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002657/0.07551, allocations: 127.8 kB / 0.62 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.474e-05/0.07552, allocations: 8 kB / 0.62 GB, free: 13.54 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000318/0.07584, allocations: 83.44 kB / 0.6201 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.201e-05/0.07587, allocations: 24 kB / 0.6201 GB, free: 13.44 MB / 0.5417 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.0002564/0.07613, allocations: 285.5 kB / 0.6204 GB, free: 13.15 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.75e-05/0.07623, allocations: 103.3 kB / 0.6205 GB, free: 13.05 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006074/0.07683, allocations: 489.9 kB / 0.621 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.109e-05/0.07685, allocations: 4 kB / 0.621 GB, free: 12.56 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.07685, allocations: 4.062 kB / 0.621 GB, free: 12.56 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004402/0.07729, allocations: 465.6 kB / 0.6214 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001226/0.07852, allocations: 1.25 MB / 0.6226 GB, free: 10.76 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.07852, allocations: 0 / 0.6226 GB, free: 10.76 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001796/0.0787, allocations: 80.03 kB / 0.6227 GB, free: 10.68 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.07871, allocations: 4 kB / 0.6227 GB, free: 10.68 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.8e-05/0.07873, allocations: 8 kB / 0.6227 GB, free: 10.67 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.07873, allocations: 7.938 kB / 0.6227 GB, free: 10.66 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.07873, allocations: 0 / 0.6227 GB, free: 10.66 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00078/0.07951, allocations: 0.7798 MB / 0.6235 GB, free: 9.852 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001908/0.0797, allocations: 151.1 kB / 0.6236 GB, free: 9.703 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.158e-05/0.07976, allocations: 8 kB / 0.6237 GB, free: 9.695 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002563/0.08002, allocations: 35.89 kB / 0.6237 GB, free: 9.66 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.918e-05/0.08008, allocations: 27.89 kB / 0.6237 GB, free: 9.633 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.491e-05/0.0801, allocations: 19.98 kB / 0.6237 GB, free: 9.613 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0005605/0.08067, allocations: 0.6667 MB / 0.6244 GB, free: 8.938 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6e-08/0.08067, allocations: 0 / 0.6244 GB, free: 8.938 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0008961/0.08156, allocations: 347.3 kB / 0.6247 GB, free: 8.598 MB / 0.5417 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.001449/0.08301, allocations: 1.601 MB / 0.6263 GB, free: 6.965 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0005644/0.08357, allocations: 402.7 kB / 0.6267 GB, free: 6.574 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.08358, allocations: 64 / 0.6267 GB, free: 6.574 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002228/0.0838, allocations: 187.7 kB / 0.6268 GB, free: 6.391 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001407/0.08521, allocations: 0.6063 MB / 0.6274 GB, free: 5.793 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006862/0.09207, allocations: 6.806 MB / 0.6341 GB, free: 14.69 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000305/0.09237, allocations: 453.3 kB / 0.6345 GB, free: 14.21 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0005781/0.09295, allocations: 204.5 kB / 0.6347 GB, free: 14.02 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004313/0.09338, allocations: 372.4 kB / 0.6351 GB, free: 13.65 MB / 0.5573 GB Notification: Performance of SimCode: time 4.61e-07/0.09338, allocations: 0 / 0.6351 GB, free: 13.65 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3074/0.4007, allocations: 32.89 MB / 0.6672 GB, free: 99.18 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.426/7.827, allocations: 8.469 kB / 0.6672 GB, free: 99.18 MB / 0.5573 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.42331055086106] Failed to read output from testmodel.py, exit status != 0: 7.92043243162334 7.928360214 7.865354114 Calling exit ...