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.00138/0.00138, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001644/0.001644, allocations: 194.8 kB / 16.53 MB, free: 6.699 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 / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002138/0.002138, allocations: 282.8 kB / 290.7 MB, free: 1.98 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.929/0.929, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001756/0.001756, allocations: 98.36 kB / 0.5952 GB, free: 27.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.1575, allocations: 86.98 MB / 0.6802 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07918/0.2367, allocations: 77.14 MB / 0.7555 GB, free: 3.293 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02515/0.2619, allocations: 18.88 MB / 0.7739 GB, free: 380 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003567/0.2655, allocations: 119.3 kB / 0.7741 GB, free: 260 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.3227/0.5882, allocations: 1.238 MB / 0.7753 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.009559/0.5978, allocations: 3.626 MB / 0.7788 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005073/0.6029, allocations: 2.08 MB / 0.7808 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01038/0.6133, allocations: 6.673 MB / 0.7874 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003824/0.6172, allocations: 2.093 MB / 0.7894 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006733/0.6239, allocations: 2.299 MB / 0.7916 GB, free: 7.512 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003919/0.6279, allocations: 1.755 MB / 0.7934 GB, free: 7.188 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.00103/0.6289, allocations: 200.9 kB / 0.7935 GB, free: 7.184 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005744/0.6347, allocations: 1.611 MB / 0.7951 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001309/0.636, allocations: 0.5391 MB / 0.7956 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.003544/0.6396, allocations: 1.248 MB / 0.7969 GB, free: 6.73 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.008764/0.6484, allocations: 3.717 MB / 0.8005 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.6484, allocations: 4.219 kB / 0.8005 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.675e-06/0.6484, allocations: 0.625 kB / 0.8005 GB, free: 6.234 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001545/0.6486, allocations: 0 / 0.8005 GB, free: 6.234 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: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.008885/0.6575, allocations: 2.715 MB / 0.8031 GB, free: 20.93 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.6575, allocations: 9.406 kB / 0.8032 GB, free: 20.93 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001374/0.6589, allocations: 267.7 kB / 0.8034 GB, free: 20.8 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004468/0.6634, allocations: 1.9 MB / 0.8053 GB, free: 20.33 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001333/0.6635, allocations: 115.4 kB / 0.8054 GB, free: 20.32 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004688/0.664, allocations: 146 kB / 0.8055 GB, free: 20.32 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00371/0.6678, allocations: 1.522 MB / 0.807 GB, free: 20.08 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.1e-05/0.6678, allocations: 5.375 kB / 0.807 GB, free: 20.08 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002077/0.668, allocations: 56.84 kB / 0.8071 GB, free: 20.08 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.554e-05/0.6681, allocations: 41.44 kB / 0.8071 GB, free: 20.08 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002602/0.6707, allocations: 1.127 MB / 0.8082 GB, free: 20.06 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.01069/0.6814, allocations: 7.654 MB / 0.8157 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009675/0.6824, allocations: 477.9 kB / 0.8161 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005983/0.683, allocations: 339.7 kB / 0.8165 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000949/0.684, allocations: 1.154 MB / 0.8176 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.845e-05/0.684, allocations: 41.75 kB / 0.8176 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=59): time 2.484e-06/0.6841, allocations: 5.031 kB / 0.8176 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of matching and sorting (n=59): time 0.002643/0.6867, allocations: 0.9616 MB / 0.8186 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.109e-05/0.6868, allocations: 63 kB / 0.8186 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002209/0.689, allocations: 1.785 MB / 0.8204 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001222/0.6891, allocations: 42.27 kB / 0.8204 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006657/0.6898, allocations: 0.9313 MB / 0.8213 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002147/0.69, allocations: 218 kB / 0.8215 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002873/0.6903, allocations: 229.5 kB / 0.8217 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.6904, allocations: 345.8 kB / 0.8221 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000626/0.6911, allocations: 333.7 kB / 0.8224 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008126/0.6919, allocations: 0.6879 MB / 0.8231 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001404/0.6933, allocations: 1.012 MB / 0.8241 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.715e-06/0.6933, allocations: 2.844 kB / 0.8241 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002301/0.6956, allocations: 1.214 MB / 0.8252 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.6957, allocations: 9.062 kB / 0.8253 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.526e-05/0.6957, allocations: 15.84 kB / 0.8253 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.007e-05/0.6957, allocations: 16.12 kB / 0.8253 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009136/0.6966, allocations: 288.7 kB / 0.8256 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.967e-05/0.6967, allocations: 26.83 kB / 0.8256 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001363/0.698, allocations: 175 kB / 0.8258 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-05/0.6981, allocations: 48.81 kB / 0.8258 GB, free: 11.39 MB / 0.5762 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.0007874/0.6989, allocations: 436.3 kB / 0.8262 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003835/0.6993, allocations: 195.1 kB / 0.8264 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00184/0.7012, allocations: 0.8657 MB / 0.8272 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-05/0.7012, allocations: 12.28 kB / 0.8273 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/0.7012, allocations: 0 / 0.8273 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001249/0.7024, allocations: 0.792 MB / 0.828 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004901/0.7074, allocations: 2.447 MB / 0.8304 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/0.7074, allocations: 2.906 kB / 0.8304 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007437/0.7081, allocations: 183.4 kB / 0.8306 GB, free: 8.625 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.005e-06/0.7082, allocations: 4.875 kB / 0.8306 GB, free: 8.625 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.051e-05/0.7082, allocations: 15.38 kB / 0.8306 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.254e-05/0.7082, allocations: 12.98 kB / 0.8306 GB, free: 8.609 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.7082, allocations: 7.188 kB / 0.8306 GB, free: 8.609 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002528/0.7108, allocations: 1.329 MB / 0.8319 GB, free: 7.824 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00081/0.7116, allocations: 369.8 kB / 0.8323 GB, free: 7.516 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002522/0.7118, allocations: 21.64 kB / 0.8323 GB, free: 7.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009563/0.7128, allocations: 63.58 kB / 0.8324 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/0.7129, allocations: 46.16 kB / 0.8324 GB, free: 7.445 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.195e-05/0.713, allocations: 38.28 kB / 0.8325 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001683/0.7147, allocations: 1.244 MB / 0.8337 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7147, allocations: 0 / 0.8337 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001883/0.7166, allocations: 0.6502 MB / 0.8343 GB, free: 6.582 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (eigPor.vol1.dynBal.U,eigPor.vol2.dynBal.U,eigPor.vol3.dynBal.U,eigPor.vol4.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 (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.001232/0.7178, allocations: 0.6102 MB / 0.8349 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002026/0.7199, allocations: 0.9029 MB / 0.8358 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.7199, allocations: 0 / 0.8358 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007252/0.7206, allocations: 357 kB / 0.8361 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005345/0.726, allocations: 1.2 MB / 0.8373 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004443/0.7304, allocations: 3.1 MB / 0.8403 GB, free: 3.316 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008991/0.7314, allocations: 1.416 MB / 0.8417 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00155/0.7329, allocations: 375.9 kB / 0.8421 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002956/0.7332, allocations: 156.5 kB / 0.8422 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of SimCode: time 8.92e-07/0.7332, allocations: 0 / 0.8422 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of Templates: time 0.06987/0.8031, allocations: 41.82 MB / 0.883 GB, free: 11.23 MB / 0.6231 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)