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.0008059/0.0008059, 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.0007817/0.0007817, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.8972/0.8972, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.5395/0.5395, allocations: 110.2 MB / 369.4 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.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.413e-06/1.413e-06, allocations: 0 / 0.5473 GB, free: 9.832 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.287e-05/1.429e-05, allocations: 6.219 kB / 0.5473 GB, free: 9.824 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.02554/0.02556, allocations: 38.1 MB / 0.5845 GB, free: 3.586 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.008933/0.03449, allocations: 9.678 MB / 0.5939 GB, free: 9.875 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006936/0.03518, allocations: 83.31 kB / 0.594 GB, free: 9.793 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001027/0.03621, allocations: 0.6363 MB / 0.5946 GB, free: 9.152 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0027/0.03891, allocations: 2.059 MB / 0.5966 GB, free: 7.082 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001837/0.04075, allocations: 1.261 MB / 0.5979 GB, free: 5.832 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.00231/0.04306, allocations: 3.475 MB / 0.6013 GB, free: 2.344 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007027/0.04376, allocations: 0.7988 MB / 0.6021 GB, free: 1.52 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00173/0.04549, allocations: 1.702 MB / 0.6037 GB, free: 15.82 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009458/0.04643, allocations: 0.8021 MB / 0.6045 GB, free: 15.02 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 9.624e-05/0.04653, allocations: 100 kB / 0.6046 GB, free: 14.92 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009533/0.04748, allocations: 0.7285 MB / 0.6053 GB, free: 14.19 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001927/0.04768, allocations: 306.7 kB / 0.6056 GB, free: 13.89 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0002962/0.04797, allocations: 435 kB / 0.606 GB, free: 13.46 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.001537/0.04951, allocations: 2.056 MB / 0.608 GB, free: 11.4 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.04951, allocations: 3.938 kB / 0.608 GB, free: 11.39 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.783e-06/0.04952, allocations: 0 / 0.608 GB, free: 11.39 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.205e-05/0.04953, 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.001644/0.05117, allocations: 1.477 MB / 0.6095 GB, free: 9.879 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.05122, allocations: 8.031 kB / 0.6095 GB, free: 9.871 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001057/0.05133, allocations: 118.7 kB / 0.6096 GB, free: 9.746 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000214/0.05154, allocations: 140.1 kB / 0.6097 GB, free: 9.609 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001173/0.05271, allocations: 1.052 MB / 0.6107 GB, free: 8.527 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.557e-05/0.05275, allocations: 54.12 kB / 0.6108 GB, free: 8.473 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.426e-05/0.05282, allocations: 72 kB / 0.6109 GB, free: 8.402 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009347/0.05376, allocations: 0.9372 MB / 0.6118 GB, free: 7.395 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.213e-05/0.05378, allocations: 8 kB / 0.6118 GB, free: 7.387 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.521e-05/0.05382, allocations: 24 kB / 0.6118 GB, free: 7.363 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.551e-05/0.05385, allocations: 23.98 kB / 0.6118 GB, free: 7.34 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007219/0.05457, allocations: 0.5711 MB / 0.6124 GB, free: 6.77 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.002502/0.05707, allocations: 2.741 MB / 0.6151 GB, free: 3.934 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003842/0.05746, allocations: 242.3 kB / 0.6153 GB, free: 3.688 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001955/0.05765, allocations: 172.7 kB / 0.6155 GB, free: 3.516 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001497/0.0578, allocations: 55.95 kB / 0.6155 GB, free: 3.461 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.05783, allocations: 42.56 kB / 0.6156 GB, free: 3.41 MB / 0.573 GB Notification: Performance of pre-optimization done (n=31): time 1.332e-06/0.05783, allocations: 0 / 0.6156 GB, free: 3.41 MB / 0.573 GB Notification: Performance of matching and sorting (n=31): time 0.0006737/0.0585, allocations: 0.5208 MB / 0.6161 GB, free: 2.883 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/0.05853, allocations: 59.34 kB / 0.6161 GB, free: 2.812 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007379/0.05927, allocations: 0.9534 MB / 0.6171 GB, free: 1.84 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 2.966e-05/0.0593, allocations: 33.7 kB / 0.6171 GB, free: 1.801 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002758/0.05958, allocations: 0.4965 MB / 0.6176 GB, free: 1.297 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 7.589e-05/0.05965, allocations: 126.9 kB / 0.6177 GB, free: 1.172 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.05975, allocations: 114.2 kB / 0.6178 GB, free: 1.055 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 9.021e-05/0.05985, allocations: 333.9 kB / 0.6181 GB, free: 0.7227 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004989/0.06034, allocations: 165.2 kB / 0.6183 GB, free: 0.5625 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003282/0.06067, allocations: 0.4904 MB / 0.6188 GB, free: 15.96 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004892/0.06116, allocations: 0.5193 MB / 0.6193 GB, free: 15.37 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.06117, allocations: 4 kB / 0.6193 GB, free: 15.37 MB / 0.5886 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0006434/0.06181, allocations: 0.618 MB / 0.6199 GB, free: 14.74 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.06183, allocations: 12.12 kB / 0.6199 GB, free: 14.73 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.06183, allocations: 8 kB / 0.6199 GB, free: 14.72 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.06185, allocations: 8 kB / 0.6199 GB, free: 14.71 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002324/0.06208, allocations: 123.8 kB / 0.62 GB, free: 14.59 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.868e-06/0.06209, allocations: 11.94 kB / 0.62 GB, free: 14.58 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002803/0.06237, allocations: 87.42 kB / 0.6201 GB, free: 14.5 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.154e-05/0.0624, allocations: 24 kB / 0.6201 GB, free: 14.47 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.0002288/0.06263, allocations: 281.5 kB / 0.6204 GB, free: 14.19 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.25e-05/0.06272, allocations: 103.3 kB / 0.6205 GB, free: 14.09 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005713/0.0633, allocations: 0.4884 MB / 0.621 GB, free: 13.6 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-06/0.0633, allocations: 4 kB / 0.621 GB, free: 13.6 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.06331, allocations: 0 / 0.621 GB, free: 13.6 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004044/0.06371, allocations: 461.8 kB / 0.6214 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00117/0.06488, allocations: 1.238 MB / 0.6226 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.06488, allocations: 160 / 0.6226 GB, free: 11.82 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001712/0.06505, allocations: 83.88 kB / 0.6227 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.06506, allocations: 4 kB / 0.6227 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.637e-05/0.06507, allocations: 8 kB / 0.6227 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.06508, allocations: 7.938 kB / 0.6227 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.06508, allocations: 0 / 0.6227 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007577/0.06584, allocations: 0.7759 MB / 0.6235 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001853/0.06602, allocations: 159.2 kB / 0.6236 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.338e-05/0.06609, allocations: 12 kB / 0.6237 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000242/0.06633, allocations: 31.89 kB / 0.6237 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.214e-05/0.06638, allocations: 27.95 kB / 0.6237 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.374e-05/0.0664, allocations: 19.98 kB / 0.6237 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0005217/0.06693, allocations: 0.6588 MB / 0.6244 GB, free: 9.996 MB / 0.5886 GB Notification: Performance of sort global known variables: time 9e-08/0.06693, allocations: 8 kB / 0.6244 GB, free: 9.988 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0005534/0.06748, allocations: 343.3 kB / 0.6247 GB, free: 9.652 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.001555/0.06903, allocations: 1.602 MB / 0.6263 GB, free: 8.012 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0004899/0.06952, allocations: 413.3 kB / 0.6267 GB, free: 7.609 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.06953, allocations: 0 / 0.6267 GB, free: 7.609 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002071/0.06973, allocations: 176.5 kB / 0.6268 GB, free: 7.438 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001352/0.07109, allocations: 0.6128 MB / 0.6274 GB, free: 6.844 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006244/0.07733, allocations: 6.81 MB / 0.6341 GB, free: 15.74 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002683/0.0776, allocations: 449.3 kB / 0.6345 GB, free: 15.27 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0003717/0.07797, allocations: 192.5 kB / 0.6347 GB, free: 15.08 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003124/0.07828, allocations: 372.4 kB / 0.6351 GB, free: 14.71 MB / 0.6042 GB Notification: Performance of SimCode: time 5.11e-07/0.07828, allocations: 0 / 0.6351 GB, free: 14.71 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03999/0.1183, allocations: 33.01 MB / 0.6673 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.459/7.577, allocations: 19.25 kB / 0.6673 GB, free: 14.38 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_FourPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 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.024734223261476] Failed to read output from testmodel.py, exit status != 0: 7.67201756965369 7.680762908 7.629564416 Calling exit ...