Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.0008026/0.0008025, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008329/0.0008329, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9635/0.9635, allocations: 135.3 MB / 426.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004012/0.0004013, allocations: 8.625 kB / 0.507 GB, free: 5.16 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.1665, allocations: 82.31 MB / 0.5874 GB, free: 3.023 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.4223/0.5889, allocations: 71.12 MB / 0.6568 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02273/0.6116, allocations: 17.7 MB / 0.6741 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004107/0.6158, allocations: 93.84 kB / 0.6742 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003577/0.6194, allocations: 0.8859 MB / 0.6751 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.01042/0.6298, allocations: 2.825 MB / 0.6778 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005712/0.6356, allocations: 1.489 MB / 0.6793 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01293/0.6485, allocations: 7.575 MB / 0.6867 GB, free: 7.148 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003594/0.6521, allocations: 1.45 MB / 0.6881 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005821/0.658, allocations: 1.866 MB / 0.6899 GB, free: 5.867 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004399/0.6624, allocations: 1.6 MB / 0.6915 GB, free: 5.207 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0005812/0.663, allocations: 73.72 kB / 0.6915 GB, free: 5.207 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005977/0.669, allocations: 0.8961 MB / 0.6924 GB, free: 4.887 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0007035/0.6697, allocations: 391.1 kB / 0.6928 GB, free: 4.695 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001385/0.6711, allocations: 495.2 kB / 0.6933 GB, free: 4.43 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004956/0.6761, allocations: 2.675 MB / 0.6959 GB, free: 3.758 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.6761, allocations: 0 / 0.6959 GB, free: 3.758 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.914e-06/0.6761, allocations: 0 / 0.6959 GB, free: 3.758 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.147e-05/0.6762, allocations: 0 / 0.6959 GB, free: 3.758 MB / 0.5137 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.00496/0.6812, allocations: 2.315 MB / 0.6981 GB, free: 2.309 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.6812, allocations: 13.12 kB / 0.6981 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007706/0.682, allocations: 269.2 kB / 0.6984 GB, free: 2.176 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00347/0.6855, allocations: 1.902 MB / 0.7003 GB, free: 1.113 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.274e-05/0.6856, allocations: 108.4 kB / 0.7004 GB, free: 1.062 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002023/0.6858, allocations: 140.1 kB / 0.7005 GB, free: 1.02 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002855/0.6886, allocations: 1.53 MB / 0.702 GB, free: 48 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.783e-05/0.6887, allocations: 9.312 kB / 0.702 GB, free: 40 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001448/0.6888, allocations: 58.77 kB / 0.7021 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.867e-05/0.6889, allocations: 43.73 kB / 0.7021 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002295/0.6912, allocations: 1.154 MB / 0.7032 GB, free: 15.42 MB / 0.5294 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.00898/0.7002, allocations: 7.584 MB / 0.7106 GB, free: 8.594 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/0.7012, allocations: 0.4909 MB / 0.7111 GB, free: 8.355 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006672/0.7019, allocations: 358.4 kB / 0.7115 GB, free: 8.188 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009337/0.7029, allocations: 1.156 MB / 0.7126 GB, free: 6.832 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.681e-05/0.7029, allocations: 39.84 kB / 0.7126 GB, free: 6.785 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=59): time 2.485e-06/0.7029, allocations: 0 / 0.7126 GB, free: 6.785 MB / 0.5294 GB Notification: Performance of matching and sorting (n=59): time 0.002325/0.7052, allocations: 1.024 MB / 0.7136 GB, free: 6.305 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.7053, allocations: 62.11 kB / 0.7137 GB, free: 6.238 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002237/0.7075, allocations: 1.734 MB / 0.7154 GB, free: 5.27 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 9.944e-05/0.7076, allocations: 43.2 kB / 0.7154 GB, free: 5.227 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007768/0.7084, allocations: 0.9306 MB / 0.7163 GB, free: 4.402 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002572/0.7087, allocations: 221.2 kB / 0.7165 GB, free: 4.211 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.229e-05/0.7087, allocations: 20.44 kB / 0.7166 GB, free: 4.195 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.7089, allocations: 348.1 kB / 0.7169 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006776/0.7096, allocations: 344.2 kB / 0.7172 GB, free: 3.707 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009467/0.7105, allocations: 0.7099 MB / 0.7179 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000794/0.7113, allocations: 475 kB / 0.7184 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.922e-06/0.7114, allocations: 2.75 kB / 0.7184 GB, free: 2.84 MB / 0.5294 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002199/0.7136, allocations: 1.25 MB / 0.7196 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.7136, allocations: 10.58 kB / 0.7196 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/0.7136, allocations: 9.562 kB / 0.7196 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.546e-05/0.7136, allocations: 19.88 kB / 0.7196 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000936/0.7146, allocations: 310.5 kB / 0.7199 GB, free: 2.156 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.599e-05/0.7146, allocations: 26.34 kB / 0.7199 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001608/0.7162, allocations: 250.9 kB / 0.7202 GB, free: 2.008 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-05/0.7163, allocations: 49.88 kB / 0.7202 GB, free: 2 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008225/0.7172, allocations: 439.8 kB / 0.7206 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002368/0.7174, allocations: 193.8 kB / 0.7208 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001681/0.7191, allocations: 0.9109 MB / 0.7217 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-05/0.7191, allocations: 12.3 kB / 0.7217 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.7191, allocations: 3.938 kB / 0.7217 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001235/0.7204, allocations: 0.8324 MB / 0.7226 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004268/0.7246, allocations: 2.479 MB / 0.725 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.7247, allocations: 0 / 0.725 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007703/0.7254, allocations: 211.8 kB / 0.7252 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.818e-06/0.7255, allocations: 4 kB / 0.7252 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.392e-05/0.7255, allocations: 19.98 kB / 0.7252 GB, free: 14.24 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.384e-06/0.7255, allocations: 4 kB / 0.7252 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.7255, allocations: 4 kB / 0.7252 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0024/0.7279, allocations: 1.394 MB / 0.7266 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001029/0.729, allocations: 402.3 kB / 0.7269 GB, free: 12.38 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003905/0.7294, allocations: 20 kB / 0.727 GB, free: 12.36 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001109/0.7305, allocations: 127.7 kB / 0.7271 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/0.7306, allocations: 56.38 kB / 0.7271 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.296e-05/0.7307, allocations: 31.98 kB / 0.7272 GB, free: 12.14 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001924/0.7327, allocations: 1.2 MB / 0.7283 GB, free: 10.93 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7327, allocations: 0 / 0.7283 GB, free: 10.93 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002316/0.735, allocations: 0.6317 MB / 0.729 GB, free: 10.29 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001207/0.7362, allocations: 0.5615 MB / 0.7295 GB, free: 9.738 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001831/0.738, allocations: 0.843 MB / 0.7303 GB, free: 8.895 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.755e-05/0.7381, allocations: 7.938 kB / 0.7303 GB, free: 8.887 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007026/0.7388, allocations: 376.4 kB / 0.7307 GB, free: 8.52 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00658/0.7454, allocations: 1.204 MB / 0.7319 GB, free: 7.336 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007082/0.7525, allocations: 3.695 MB / 0.7355 GB, free: 3.582 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001461/0.754, allocations: 1.405 MB / 0.7369 GB, free: 2.141 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002359/0.7564, allocations: 389 kB / 0.7372 GB, free: 1.762 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005678/0.757, allocations: 151.4 kB / 0.7374 GB, free: 1.617 MB / 0.545 GB Notification: Performance of SimCode: time 1.813e-06/0.757, allocations: 0 / 0.7374 GB, free: 1.617 MB / 0.545 GB Notification: Performance of Templates: time 0.06946/0.8264, allocations: 38.58 MB / 0.775 GB, free: 11.5 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)