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.001776/0.001776, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.002194/0.002194, allocations: 216.1 kB / 22.25 MB, free: 5.262 MB / 14.72 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 1.384/1.384, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] 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.8789/0.8789, allocations: 145 MB / 457.4 MB, free: 15.23 MB / 366.1 MB " [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: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0031/0.0031, allocations: 74.23 kB / 0.6331 GB, free: 6.672 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1866/0.1897, allocations: 87.88 MB / 0.7189 GB, free: 14.8 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.4073/0.597, allocations: 38.36 MB / 0.7564 GB, free: 4.484 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01491/0.6119, allocations: 9.669 MB / 0.7658 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002235/0.6141, allocations: 82.16 kB / 0.7659 GB, free: 4.188 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001879/0.616, allocations: 0.6377 MB / 0.7665 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005792/0.6218, allocations: 2.002 MB / 0.7685 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003436/0.6252, allocations: 1.218 MB / 0.7697 GB, free: 3.527 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005694/0.6309, allocations: 3.448 MB / 0.773 GB, free: 2.867 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001752/0.6327, allocations: 0.8051 MB / 0.7738 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003765/0.6364, allocations: 1.305 MB / 0.7751 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001983/0.6384, allocations: 0.8936 MB / 0.776 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000417/0.6388, allocations: 100.9 kB / 0.7761 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002521/0.6414, allocations: 0.7111 MB / 0.7768 GB, free: 1.461 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005487/0.6419, allocations: 303.1 kB / 0.7771 GB, free: 1.277 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001375/0.6433, allocations: 0.5038 MB / 0.7776 GB, free: 1.027 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004105/0.6474, allocations: 2.059 MB / 0.7796 GB, free: 340 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.6474, allocations: 0 / 0.7796 GB, free: 340 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6474, allocations: 7.938 kB / 0.7796 GB, free: 332 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.772e-05/0.6475, allocations: 1.094 kB / 0.7796 GB, free: 332 kB / 0.5606 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.003613/0.6511, allocations: 1.473 MB / 0.781 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.6511, allocations: 9.062 kB / 0.781 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002182/0.6513, allocations: 114.9 kB / 0.7811 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005346/0.6519, allocations: 143.5 kB / 0.7813 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002456/0.6543, allocations: 1.057 MB / 0.7823 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.43e-05/0.6544, allocations: 55.81 kB / 0.7824 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001704/0.6546, allocations: 74.28 kB / 0.7824 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001694/0.6563, allocations: 0.9414 MB / 0.7833 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.174e-05/0.6563, allocations: 5.469 kB / 0.7833 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.568e-05/0.6564, allocations: 26.78 kB / 0.7834 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.729e-05/0.6564, allocations: 25.66 kB / 0.7834 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001254/0.6576, allocations: 0.5639 MB / 0.7839 GB, free: 13.76 MB / 0.5762 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.004987/0.6626, allocations: 2.751 MB / 0.7866 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006102/0.6632, allocations: 237.8 kB / 0.7869 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003474/0.6636, allocations: 168.4 kB / 0.787 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000262/0.6639, allocations: 69.59 kB / 0.7871 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.6639, allocations: 41.5 kB / 0.7871 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 2.044e-06/0.6639, allocations: 0 / 0.7871 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.001349/0.6652, allocations: 0.5148 MB / 0.7876 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.184e-05/0.6653, allocations: 54.94 kB / 0.7877 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001572/0.6669, allocations: 0.964 MB / 0.7886 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.38e-05/0.6669, allocations: 32.08 kB / 0.7887 GB, free: 11 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005003/0.6674, allocations: 0.4977 MB / 0.7891 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001602/0.6676, allocations: 118.9 kB / 0.7893 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001902/0.6678, allocations: 114.8 kB / 0.7894 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.6679, allocations: 329.5 kB / 0.7897 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003988/0.6683, allocations: 167.4 kB / 0.7898 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000684/0.669, allocations: 0.5026 MB / 0.7903 GB, free: 9.617 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009659/0.67, allocations: 0.5106 MB / 0.7908 GB, free: 9.273 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.355e-06/0.67, allocations: 5.188 kB / 0.7908 GB, free: 9.273 MB / 0.5762 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001491/0.6715, allocations: 0.6216 MB / 0.7914 GB, free: 9.012 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.6715, allocations: 7.312 kB / 0.7914 GB, free: 9.012 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.626e-05/0.6715, allocations: 5.594 kB / 0.7915 GB, free: 9.012 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.942e-05/0.6715, allocations: 7.125 kB / 0.7915 GB, free: 9.012 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004629/0.672, allocations: 128.8 kB / 0.7916 GB, free: 8.996 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.213e-05/0.672, allocations: 13.11 kB / 0.7916 GB, free: 8.992 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008688/0.6729, allocations: 87.06 kB / 0.7917 GB, free: 8.941 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.849e-05/0.673, allocations: 31.41 kB / 0.7917 GB, free: 8.934 MB / 0.5762 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.0004965/0.6735, allocations: 278.9 kB / 0.792 GB, free: 8.723 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002715/0.6737, allocations: 104.4 kB / 0.7921 GB, free: 8.668 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001119/0.6749, allocations: 484.1 kB / 0.7925 GB, free: 8.484 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-05/0.6749, allocations: 4.344 kB / 0.7925 GB, free: 8.484 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.6749, allocations: 0 / 0.7925 GB, free: 8.484 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007937/0.6757, allocations: 460.5 kB / 0.793 GB, free: 8.223 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002745/0.6784, allocations: 1.248 MB / 0.7942 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/0.6784, allocations: 1.125 kB / 0.7942 GB, free: 7.336 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000342/0.6788, allocations: 72.14 kB / 0.7943 GB, free: 7.32 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.16e-05/0.6788, allocations: 7.469 kB / 0.7943 GB, free: 7.316 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.979e-05/0.6788, allocations: 7.719 kB / 0.7943 GB, free: 7.312 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.424e-06/0.6788, allocations: 11.28 kB / 0.7943 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.6788, allocations: 1.125 kB / 0.7943 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001507/0.6803, allocations: 0.7791 MB / 0.7951 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005313/0.6809, allocations: 162 kB / 0.7952 GB, free: 6.695 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002345/0.6811, allocations: 11.38 kB / 0.7952 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006214/0.6817, allocations: 29.52 kB / 0.7952 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.932e-05/0.6818, allocations: 31.02 kB / 0.7953 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.237e-05/0.6818, allocations: 20.61 kB / 0.7953 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001125/0.683, allocations: 0.6591 MB / 0.7959 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.01e-07/0.683, allocations: 0 / 0.7959 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001319/0.6843, allocations: 347.2 kB / 0.7963 GB, free: 6.18 MB / 0.5762 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.002589/0.6869, allocations: 1.592 MB / 0.7978 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00103/0.6879, allocations: 407.2 kB / 0.7982 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.6879, allocations: 5.5 kB / 0.7982 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004013/0.6883, allocations: 179.3 kB / 0.7984 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00315/0.6915, allocations: 0.6158 MB / 0.799 GB, free: 4.461 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01189/0.7033, allocations: 6.838 MB / 0.8057 GB, free: 124 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006496/0.704, allocations: 462.4 kB / 0.8061 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009019/0.7049, allocations: 192.9 kB / 0.8063 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005775/0.7055, allocations: 374.2 kB / 0.8066 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of SimCode: time 6.91e-07/0.7055, allocations: 3.938 kB / 0.8067 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07807/0.7835, allocations: 32.91 MB / 0.8388 GB, free: 1.094 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.4/13.19, allocations: 13.94 kB / 0.8388 GB, free: 1.082 MB / 0.6075 GB " [Timeout remaining time 647] (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: 16.79916627332568] Failed to read output from testmodel.py, exit status != 0: 13.316923149861395 13.340347021 12.688165985 Calling exit ...