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.001331/0.001332, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001404/0.001404, allocations: 196.6 kB / 16.14 MB, free: 6.684 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.445/1.445, allocations: 222.9 MB / 239.8 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002736/0.002736, allocations: 286.6 kB / 290.2 MB, free: 2.156 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.115/1.115, allocations: 178.6 MB / 0.5068 GB, free: 4.781 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002765/0.002765, allocations: 101.7 kB / 0.6057 GB, free: 25.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1772/0.18, allocations: 89.15 MB / 0.6928 GB, free: 4.832 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.4029/0.5829, allocations: 76.63 MB / 0.7676 GB, free: 7.418 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02608/0.609, allocations: 19 MB / 0.7862 GB, free: 7.008 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004524/0.6135, allocations: 97.94 kB / 0.7863 GB, free: 7.008 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003781/0.6174, allocations: 1.027 MB / 0.7873 GB, free: 6.988 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01012/0.6275, allocations: 3.367 MB / 0.7906 GB, free: 6.758 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.005247/0.6328, allocations: 1.905 MB / 0.7924 GB, free: 6.504 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01063/0.6434, allocations: 8.892 MB / 0.8011 GB, free: 3.426 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003285/0.6467, allocations: 1.736 MB / 0.8028 GB, free: 2.734 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004788/0.6515, allocations: 1.937 MB / 0.8047 GB, free: 1.984 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003948/0.6555, allocations: 1.764 MB / 0.8064 GB, free: 1.395 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0004382/0.656, allocations: 97.44 kB / 0.8065 GB, free: 1.395 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006506/0.6625, allocations: 1.462 MB / 0.8079 GB, free: 0.9414 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0006927/0.6632, allocations: 455.6 kB / 0.8084 GB, free: 0.7227 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.00239/0.6656, allocations: 1.139 MB / 0.8095 GB, free: 88 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.008376/0.674, allocations: 3.648 MB / 0.813 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.674, allocations: 0 / 0.813 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.202e-06/0.674, allocations: 2.531 kB / 0.813 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.561e-05/0.6741, allocations: 4 kB / 0.813 GB, free: 14.28 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.00593/0.6801, allocations: 2.708 MB / 0.8157 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.155e-05/0.6801, allocations: 14.62 kB / 0.8157 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008315/0.681, allocations: 266.9 kB / 0.816 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003471/0.6845, allocations: 1.972 MB / 0.8179 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.006e-05/0.6846, allocations: 107.4 kB / 0.818 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002061/0.6848, allocations: 143.4 kB / 0.8181 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002876/0.6877, allocations: 1.532 MB / 0.8196 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.802e-05/0.6877, allocations: 11.92 kB / 0.8196 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001306/0.6879, allocations: 58.28 kB / 0.8197 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.405e-05/0.6879, allocations: 37.34 kB / 0.8197 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002321/0.6902, allocations: 1.125 MB / 0.8208 GB, free: 9.027 MB / 0.5606 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.01027/0.7005, allocations: 7.572 MB / 0.8282 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009757/0.7015, allocations: 477.1 kB / 0.8287 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006244/0.7021, allocations: 334.8 kB / 0.829 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001018/0.7032, allocations: 1.156 MB / 0.8301 GB, free: 0.5234 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.973e-05/0.7032, allocations: 42.03 kB / 0.8302 GB, free: 488 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=59): time 2.295e-06/0.7032, allocations: 0 / 0.8302 GB, free: 488 kB / 0.5606 GB Notification: Performance of matching and sorting (n=59): time 0.002505/0.7057, allocations: 0.9639 MB / 0.8311 GB, free: 0 / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.972e-05/0.7058, allocations: 57.47 kB / 0.8312 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002349/0.7082, allocations: 1.752 MB / 0.8329 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001112/0.7083, allocations: 47.39 kB / 0.8329 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008571/0.7092, allocations: 0.9282 MB / 0.8338 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002552/0.7094, allocations: 223.8 kB / 0.834 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003131/0.7098, allocations: 232.5 kB / 0.8343 GB, free: 13.78 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001734/0.7099, allocations: 346.6 kB / 0.8346 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006985/0.7106, allocations: 332.6 kB / 0.8349 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001065/0.7117, allocations: 0.6911 MB / 0.8356 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001733/0.7135, allocations: 1.014 MB / 0.8366 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.538e-06/0.7135, allocations: 2.969 kB / 0.8366 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002584/0.7161, allocations: 1.212 MB / 0.8377 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.874e-05/0.7161, allocations: 10.72 kB / 0.8378 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.838e-05/0.7162, allocations: 11.44 kB / 0.8378 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.896e-05/0.7162, allocations: 14.81 kB / 0.8378 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001026/0.7172, allocations: 293.5 kB / 0.8381 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.935e-05/0.7173, allocations: 18.47 kB / 0.8381 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002403/0.7197, allocations: 240.3 kB / 0.8383 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001162/0.7198, allocations: 52.39 kB / 0.8384 GB, free: 11.08 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.001154/0.721, allocations: 440.5 kB / 0.8388 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006368/0.7216, allocations: 191.2 kB / 0.839 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002088/0.7237, allocations: 0.8635 MB / 0.8398 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.172e-05/0.7237, allocations: 13.72 kB / 0.8398 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.7238, allocations: 2.625 kB / 0.8398 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001385/0.7251, allocations: 0.7948 MB / 0.8406 GB, free: 9.656 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004776/0.7299, allocations: 2.422 MB / 0.843 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.73, allocations: 2.75 kB / 0.843 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007846/0.7307, allocations: 186.6 kB / 0.8431 GB, free: 7.914 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.517e-05/0.7308, allocations: 11.55 kB / 0.8432 GB, free: 7.906 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.183e-05/0.7308, allocations: 23.98 kB / 0.8432 GB, free: 7.883 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.163e-06/0.7308, allocations: 4 kB / 0.8432 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.7309, allocations: 7.984 kB / 0.8432 GB, free: 7.871 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002936/0.7338, allocations: 1.335 MB / 0.8445 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001092/0.7349, allocations: 370.4 kB / 0.8448 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002734/0.7352, allocations: 12 kB / 0.8449 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001183/0.7364, allocations: 115.7 kB / 0.845 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001342/0.7365, allocations: 48.44 kB / 0.845 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.534e-05/0.7366, allocations: 43.91 kB / 0.8451 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00207/0.7387, allocations: 1.22 MB / 0.8462 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2e-07/0.7387, allocations: 0 / 0.8462 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002393/0.7411, allocations: 0.6357 MB / 0.8469 GB, free: 4.02 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.001422/0.7425, allocations: 0.5873 MB / 0.8474 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001927/0.7445, allocations: 0.8043 MB / 0.8482 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.7445, allocations: 0.625 kB / 0.8482 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007529/0.7452, allocations: 362.9 kB / 0.8486 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00606/0.7513, allocations: 1.202 MB / 0.8497 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005927/0.7573, allocations: 3.757 MB / 0.8534 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001133/0.7584, allocations: 1.401 MB / 0.8548 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00238/0.7608, allocations: 382.9 kB / 0.8552 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004125/0.7612, allocations: 151.4 kB / 0.8553 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of SimCode: time 1.533e-06/0.7613, allocations: 0 / 0.8553 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of Templates: time 0.07938/0.8406, allocations: 39.87 MB / 0.8942 GB, free: 4.121 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)