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.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001508/0.001508, allocations: 108.8 kB / 18.93 MB, free: 2.945 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 187 kB / 22.22 MB, free: 5.16 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 225.6 MB / 251 MB, free: 13 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.924/0.924, allocations: 145 MB / 451.3 MB, free: 5.453 MB / 350.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo)
Running command: translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger")
translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002042/0.002042, allocations: 63.45 kB / 0.6253 GB, free: 15.47 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.171, allocations: 86.71 MB / 0.71 GB, free: 8.781 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.4209/0.5918, allocations: 42.26 MB / 0.7513 GB, free: 5.035 MB / 0.5606 GB
Notification: Performance of NFInst.instExpressions: time 0.01554/0.6074, allocations: 10.47 MB / 0.7615 GB, free: 4.867 MB / 0.5606 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.002719/0.6101, allocations: 76.81 kB / 0.7616 GB, free: 4.867 MB / 0.5606 GB
Notification: Performance of NFTyping.typeComponents: time 0.002356/0.6125, allocations: 0.6706 MB / 0.7622 GB, free: 4.855 MB / 0.5606 GB
Notification: Performance of NFTyping.typeBindings: time 0.00641/0.6189, allocations: 2.012 MB / 0.7642 GB, free: 4.781 MB / 0.5606 GB
Notification: Performance of NFTyping.typeClassSections: time 0.003933/0.6228, allocations: 1.235 MB / 0.7654 GB, free: 4.738 MB / 0.5606 GB
Notification: Performance of NFFlatten.flatten: time 0.00663/0.6294, allocations: 3.474 MB / 0.7688 GB, free: 4.25 MB / 0.5606 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.002197/0.6316, allocations: 0.8261 MB / 0.7696 GB, free: 4.148 MB / 0.5606 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.004101/0.6357, allocations: 1.285 MB / 0.7708 GB, free: 3.766 MB / 0.5606 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.002092/0.6378, allocations: 0.9358 MB / 0.7718 GB, free: 3.43 MB / 0.5606 GB
Notification: Performance of NFPackage.collectConstants: time 0.0004213/0.6382, allocations: 99.69 kB / 0.7719 GB, free: 3.43 MB / 0.5606 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.003252/0.6415, allocations: 0.9039 MB / 0.7727 GB, free: 3.141 MB / 0.5606 GB
Notification: Performance of NFScalarize.scalarize: time 0.0005737/0.6421, allocations: 295.8 kB / 0.773 GB, free: 2.965 MB / 0.5606 GB
Notification: Performance of NFVerifyModel.verify: time 0.001678/0.6437, allocations: 0.6273 MB / 0.7736 GB, free: 2.59 MB / 0.5606 GB
Notification: Performance of NFConvertDAE.convert: time 0.006028/0.6498, allocations: 2.033 MB / 0.7756 GB, free: 1.949 MB / 0.5606 GB
Notification: Performance of FrontEnd - DAE generated: time 1.105e-05/0.6498, allocations: 1.281 kB / 0.7756 GB, free: 1.949 MB / 0.5606 GB
Notification: Performance of FrontEnd: time 3.226e-06/0.6498, allocations: 0 / 0.7756 GB, free: 1.949 MB / 0.5606 GB
Notification: Performance of Transformations before backend: time 0.0001217/0.6499, allocations: 0 / 0.7756 GB, free: 1.949 MB / 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.006091/0.656, allocations: 1.488 MB / 0.7771 GB, free: 0.9883 MB / 0.5606 GB
Notification: Performance of prepare preOptimizeDAE: time 6.577e-05/0.6561, allocations: 9.375 kB / 0.7771 GB, free: 0.9883 MB / 0.5606 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001097/0.6572, allocations: 140 kB / 0.7772 GB, free: 0.9219 MB / 0.5606 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.003655/0.6608, allocations: 1.056 MB / 0.7782 GB, free: 340 kB / 0.5606 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.963e-05/0.6609, allocations: 52.75 kB / 0.7783 GB, free: 316 kB / 0.5606 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002339/0.6611, allocations: 72.92 kB / 0.7784 GB, free: 292 kB / 0.5606 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.002106/0.6632, allocations: 0.7918 MB / 0.7791 GB, free: 15.91 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 4.296e-05/0.6633, allocations: 9.016 kB / 0.7792 GB, free: 15.9 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001063/0.6634, allocations: 32.03 kB / 0.7792 GB, free: 15.88 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.642e-05/0.6634, allocations: 22.66 kB / 0.7792 GB, free: 15.87 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001614/0.6651, allocations: 0.5664 MB / 0.7798 GB, free: 15.68 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.006126/0.6712, allocations: 3.489 MB / 0.7832 GB, free: 13.17 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0006626/0.6718, allocations: 250.6 kB / 0.7834 GB, free: 13.07 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0003618/0.6722, allocations: 163.9 kB / 0.7836 GB, free: 13.02 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.000265/0.6725, allocations: 64.59 kB / 0.7836 GB, free: 13 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/0.6725, allocations: 36.59 kB / 0.7837 GB, free: 12.96 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=31): time 2.054e-06/0.6725, allocations: 0 / 0.7837 GB, free: 12.96 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=31): time 0.001476/0.674, allocations: 0.5225 MB / 0.7842 GB, free: 12.76 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.674, allocations: 54.31 kB / 0.7842 GB, free: 12.7 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001479/0.6755, allocations: 0.9521 MB / 0.7851 GB, free: 12.3 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 6.885e-05/0.6756, allocations: 34.11 kB / 0.7852 GB, free: 12.26 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 0.000475/0.6761, allocations: 0.4979 MB / 0.7857 GB, free: 11.86 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0001502/0.6762, allocations: 117.6 kB / 0.7858 GB, free: 11.77 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001891/0.6764, allocations: 116.2 kB / 0.7859 GB, free: 11.71 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 0.0001597/0.6766, allocations: 328 kB / 0.7862 GB, free: 11.39 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003961/0.6769, allocations: 172 kB / 0.7864 GB, free: 11.34 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005765/0.6775, allocations: 349.9 kB / 0.7867 GB, free: 11.07 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0009894/0.6785, allocations: 0.5106 MB / 0.7872 GB, free: 10.72 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.6785, allocations: 1.125 kB / 0.7872 GB, free: 10.72 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=65) (initialization): time 0.001448/0.68, allocations: 0.6217 MB / 0.7878 GB, free: 10.46 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/0.68, allocations: 7.594 kB / 0.7878 GB, free: 10.46 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.433e-05/0.68, allocations: 5.375 kB / 0.7878 GB, free: 10.46 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.907e-05/0.68, allocations: 7.562 kB / 0.7878 GB, free: 10.46 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004763/0.6805, allocations: 127.9 kB / 0.7879 GB, free: 10.44 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.521e-05/0.6805, allocations: 11.25 kB / 0.788 GB, free: 10.44 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008499/0.6814, allocations: 80.97 kB / 0.788 GB, free: 10.39 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.002e-05/0.6814, allocations: 27.14 kB / 0.7881 GB, free: 10.39 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.0005062/0.6819, allocations: 279.9 kB / 0.7883 GB, free: 10.18 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002461/0.6822, allocations: 104.1 kB / 0.7884 GB, free: 10.12 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001119/0.6833, allocations: 499.9 kB / 0.7889 GB, free: 9.93 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.476e-05/0.6833, allocations: 6.391 kB / 0.7889 GB, free: 9.93 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.6833, allocations: 9.062 kB / 0.7889 GB, free: 9.922 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008192/0.6841, allocations: 452.8 kB / 0.7894 GB, free: 9.672 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002459/0.6866, allocations: 1.341 MB / 0.7907 GB, free: 8.977 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.6866, allocations: 1.344 kB / 0.7907 GB, free: 8.977 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003518/0.687, allocations: 77.36 kB / 0.7907 GB, free: 8.969 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.136e-05/0.687, allocations: 11.5 kB / 0.7907 GB, free: 8.961 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.712e-05/0.687, allocations: 7.812 kB / 0.7908 GB, free: 8.957 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.193e-06/0.687, allocations: 12.16 kB / 0.7908 GB, free: 8.953 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.687, allocations: 1.594 kB / 0.7908 GB, free: 8.953 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001432/0.6884, allocations: 0.7708 MB / 0.7915 GB, free: 8.547 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0004419/0.6889, allocations: 157.2 kB / 0.7917 GB, free: 8.453 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001348/0.689, allocations: 10.69 kB / 0.7917 GB, free: 8.445 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005618/0.6896, allocations: 31.41 kB / 0.7917 GB, free: 8.438 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.783e-05/0.6897, allocations: 32.88 kB / 0.7917 GB, free: 8.43 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.324e-05/0.6897, allocations: 21.44 kB / 0.7918 GB, free: 8.426 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 0.0009535/0.6907, allocations: 0.6595 MB / 0.7924 GB, free: 8.062 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 8e-08/0.6907, allocations: 0 / 0.7924 GB, free: 8.062 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.001148/0.6918, allocations: 340.9 kB / 0.7927 GB, free: 7.98 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.0008289/0.6926, allocations: 404 kB / 0.7931 GB, free: 7.777 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 0.001005/0.6936, allocations: 416.3 kB / 0.7935 GB, free: 7.594 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.6936, allocations: 0 / 0.7935 GB, free: 7.594 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 0.000424/0.6941, allocations: 193.2 kB / 0.7937 GB, free: 7.504 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002846/0.6969, allocations: 0.6172 MB / 0.7943 GB, free: 7.176 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002603/0.6995, allocations: 1.622 MB / 0.7959 GB, free: 6.129 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006762/0.7002, allocations: 1.033 MB / 0.7969 GB, free: 5.273 MB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 0.0007381/0.7009, allocations: 198.4 kB / 0.7971 GB, free: 5.184 MB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000172/0.7011, allocations: 83.05 kB / 0.7972 GB, free: 5.164 MB / 0.5762 GB
Notification: Performance of SimCode: time 8.42e-07/0.7011, allocations: 0 / 0.7972 GB, free: 5.164 MB / 0.5762 GB
Notification: Performance of Templates: time 0.0416/0.7427, allocations: 22.06 MB / 0.8187 GB, free: 4.082 MB / 0.5919 GB
"
[Timeout remaining time 659]
make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile [Timeout 660]
(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 & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.777262430638075]
Failed to read output from testmodel.py, exit status != 0:
0.7517638793215156 0.7679184609999999 0.11443655600000001
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fc6422657b0>