Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 110.5 kB / 16.42 MB, free: 6.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001597/0.001597, allocations: 189.5 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.29/1.29, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002103/0.002103, allocations: 291.2 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9264/0.9264, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001795/0.001795, allocations: 99.84 kB / 0.6821 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.363/0.3648, allocations: 86.97 MB / 0.7671 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07203/0.4368, allocations: 77.15 MB / 0.8424 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02391/0.4608, allocations: 18.89 MB / 0.8608 GB, free: 3.566 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003328/0.4642, allocations: 115.4 kB / 0.861 GB, free: 3.453 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0027/0.4669, allocations: 1.242 MB / 0.8622 GB, free: 2.203 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.008155/0.4751, allocations: 3.626 MB / 0.8657 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004455/0.4795, allocations: 2.095 MB / 0.8678 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.007201/0.4868, allocations: 6.69 MB / 0.8743 GB, free: 5.777 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002475/0.4892, allocations: 2.098 MB / 0.8763 GB, free: 3.629 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003973/0.4932, allocations: 2.366 MB / 0.8786 GB, free: 1.266 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001995/0.4952, allocations: 1.765 MB / 0.8804 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002826/0.4955, allocations: 200 kB / 0.8806 GB, free: 15.3 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003103/0.4986, allocations: 1.614 MB / 0.8821 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004514/0.4991, allocations: 0.541 MB / 0.8827 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001083/0.5002, allocations: 1.24 MB / 0.8839 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003962/0.5042, allocations: 3.761 MB / 0.8876 GB, free: 8.125 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.5042, allocations: 0 / 0.8876 GB, free: 8.125 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.353e-06/0.5042, allocations: 3.938 kB / 0.8876 GB, free: 8.121 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.242e-05/0.5042, allocations: 0 / 0.8876 GB, free: 8.121 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.003792/0.508, allocations: 2.707 MB / 0.8902 GB, free: 5.348 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.5081, allocations: 12.03 kB / 0.8902 GB, free: 5.336 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006316/0.5087, allocations: 265.9 kB / 0.8905 GB, free: 5.074 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002861/0.5116, allocations: 2.027 MB / 0.8924 GB, free: 2.996 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.058e-05/0.5117, allocations: 106.7 kB / 0.8925 GB, free: 2.891 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000177/0.5118, allocations: 140 kB / 0.8927 GB, free: 2.754 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002518/0.5144, allocations: 1.516 MB / 0.8942 GB, free: 1.16 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.08e-05/0.5144, allocations: 3.906 kB / 0.8942 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001285/0.5145, allocations: 63.98 kB / 0.8942 GB, free: 1.094 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.532e-05/0.5146, allocations: 51.92 kB / 0.8943 GB, free: 1.043 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002125/0.5167, allocations: 1.111 MB / 0.8954 GB, free: 15.92 MB / 0.67 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.007125/0.5239, allocations: 7.606 MB / 0.9028 GB, free: 7.742 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009156/0.5248, allocations: 475.6 kB / 0.9032 GB, free: 7.273 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006467/0.5254, allocations: 343.1 kB / 0.9036 GB, free: 6.938 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007846/0.5262, allocations: 1.152 MB / 0.9047 GB, free: 5.527 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.5263, allocations: 43.11 kB / 0.9047 GB, free: 5.477 MB / 0.67 GB Notification: Performance of pre-optimization done (n=59): time 1.954e-06/0.5263, allocations: 0 / 0.9047 GB, free: 5.477 MB / 0.67 GB Notification: Performance of matching and sorting (n=59): time 0.0021/0.5284, allocations: 0.9574 MB / 0.9057 GB, free: 4.512 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.829e-05/0.5284, allocations: 59.97 kB / 0.9057 GB, free: 4.441 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002031/0.5305, allocations: 1.794 MB / 0.9075 GB, free: 2.609 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 6.033e-05/0.5305, allocations: 37.7 kB / 0.9075 GB, free: 2.566 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007087/0.5313, allocations: 0.9355 MB / 0.9084 GB, free: 1.621 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001752/0.5314, allocations: 213 kB / 0.9086 GB, free: 1.41 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002721/0.5317, allocations: 234.5 kB / 0.9089 GB, free: 1.176 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.5319, allocations: 345.9 kB / 0.9092 GB, free: 0.832 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006834/0.5325, allocations: 338.4 kB / 0.9095 GB, free: 0.5 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009443/0.5335, allocations: 0.6861 MB / 0.9102 GB, free: 15.66 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001605/0.5351, allocations: 1.008 MB / 0.9112 GB, free: 14.52 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.5351, allocations: 4 kB / 0.9112 GB, free: 14.52 MB / 0.6856 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002181/0.5373, allocations: 1.214 MB / 0.9124 GB, free: 13.29 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.5373, allocations: 8 kB / 0.9124 GB, free: 13.29 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/0.5374, allocations: 16.09 kB / 0.9124 GB, free: 13.27 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.96e-05/0.5374, allocations: 20 kB / 0.9124 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001021/0.5384, allocations: 283.6 kB / 0.9127 GB, free: 12.97 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.314e-05/0.5385, allocations: 23.92 kB / 0.9127 GB, free: 12.95 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001107/0.5396, allocations: 166.4 kB / 0.9128 GB, free: 12.79 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.397e-05/0.5397, allocations: 48 kB / 0.9129 GB, free: 12.74 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (135): * Single equations (assignments): 135 * 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.0006139/0.5403, allocations: 449.3 kB / 0.9133 GB, free: 12.29 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002784/0.5406, allocations: 193.7 kB / 0.9135 GB, free: 12.1 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001747/0.5423, allocations: 0.8684 MB / 0.9144 GB, free: 11.23 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001319/0.5437, allocations: 0.7917 MB / 0.9151 GB, free: 10.39 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.5437, allocations: 7.938 kB / 0.9151 GB, free: 10.38 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004704/0.5441, allocations: 354.5 kB / 0.9155 GB, free: 10.02 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002099/0.5444, allocations: 12 kB / 0.9155 GB, free: 10 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000933/0.5453, allocations: 59.88 kB / 0.9155 GB, free: 9.945 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/0.5454, allocations: 44.5 kB / 0.9156 GB, free: 9.898 MB / 0.6856 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002039/0.5475, allocations: 0.8694 MB / 0.9164 GB, free: 9.027 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002308/0.5498, allocations: 1.404 MB / 0.9178 GB, free: 7.602 MB / 0.6856 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006333/0.5504, allocations: 336.3 kB / 0.9181 GB, free: 7.273 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001462/0.5519, allocations: 1.203 MB / 0.9193 GB, free: 6.051 MB / 0.6856 GB Notification: Performance of Backend: time 2.3e-07/0.5519, allocations: 0 / 0.9193 GB, free: 6.051 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002739/0.5547, allocations: 1.239 MB / 0.9205 GB, free: 4.832 MB / 0.6856 GB Notification: Performance of SimCode: time 0.00733/0.562, allocations: 4.315 MB / 0.9247 GB, free: 492 kB / 0.6856 GB Notification: Performance of Templates: time 0.3387/0.9007, allocations: 41.39 MB / 0.9651 GB, free: 168.1 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)