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.001443/0.001443, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.001506/0.001506, allocations: 194.8 kB / 16.91 MB, free: 6.195 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.382/1.382, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8493/0.8493, allocations: 135.2 MB / 425.9 MB, free: 4.301 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001899/0.001899, allocations: 67.89 kB / 0.5055 GB, free: 8.703 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3669/0.3688, allocations: 80.92 MB / 0.5846 GB, free: 25.29 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.07003/0.4389, allocations: 76.47 MB / 0.6592 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0282/0.4672, allocations: 18.73 MB / 0.6775 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004106/0.4713, allocations: 103.3 kB / 0.6776 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.004229/0.4756, allocations: 1.076 MB / 0.6787 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.01091/0.4865, allocations: 3.389 MB / 0.682 GB, free: 6.754 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005777/0.4923, allocations: 1.925 MB / 0.6839 GB, free: 4.852 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01015/0.5025, allocations: 6.709 MB / 0.6904 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004244/0.5068, allocations: 2.069 MB / 0.6924 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007369/0.5142, allocations: 2.344 MB / 0.6947 GB, free: 9.672 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004081/0.5183, allocations: 1.824 MB / 0.6965 GB, free: 7.84 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001065/0.5194, allocations: 196 kB / 0.6967 GB, free: 7.648 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005872/0.5253, allocations: 1.645 MB / 0.6983 GB, free: 6 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001349/0.5267, allocations: 0.5371 MB / 0.6988 GB, free: 5.461 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.003472/0.5302, allocations: 1.248 MB / 0.7 GB, free: 4.207 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00589/0.5361, allocations: 2.912 MB / 0.7029 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.5361, allocations: 0 / 0.7029 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.445e-06/0.5361, allocations: 0 / 0.7029 GB, free: 1.289 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001346/0.5363, allocations: 0 / 0.7029 GB, free: 1.289 MB / 0.5294 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.006994/0.5433, allocations: 2.715 MB / 0.7055 GB, free: 14.51 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/0.5434, allocations: 13.11 kB / 0.7056 GB, free: 14.5 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001174/0.5445, allocations: 277.6 kB / 0.7058 GB, free: 14.22 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004353/0.5489, allocations: 1.972 MB / 0.7077 GB, free: 12.2 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001466/0.5491, allocations: 102.7 kB / 0.7078 GB, free: 12.1 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003798/0.5495, allocations: 143.9 kB / 0.708 GB, free: 11.96 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003714/0.5532, allocations: 1.52 MB / 0.7095 GB, free: 10.36 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.352e-05/0.5533, allocations: 3.938 kB / 0.7095 GB, free: 10.36 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001824/0.5535, allocations: 60 kB / 0.7095 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.992e-05/0.5535, allocations: 40 kB / 0.7096 GB, free: 10.26 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002654/0.5562, allocations: 1.126 MB / 0.7107 GB, free: 9.125 MB / 0.545 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.01111/0.5673, allocations: 7.564 MB / 0.7181 GB, free: 0.9766 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001061/0.5684, allocations: 480.5 kB / 0.7185 GB, free: 0.5 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006482/0.5691, allocations: 335.9 kB / 0.7188 GB, free: 176 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001081/0.5702, allocations: 1.148 MB / 0.72 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.198e-05/0.5702, allocations: 43.12 kB / 0.72 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=59): time 3.125e-06/0.5703, allocations: 0 / 0.72 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of matching and sorting (n=59): time 0.002469/0.5727, allocations: 0.9691 MB / 0.7209 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.207e-05/0.5728, allocations: 55.97 kB / 0.721 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002674/0.5755, allocations: 1.755 MB / 0.7227 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001525/0.5756, allocations: 41.64 kB / 0.7227 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009056/0.5766, allocations: 0.9394 MB / 0.7237 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003616/0.5769, allocations: 216.9 kB / 0.7239 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003329/0.5773, allocations: 226.7 kB / 0.7241 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002709/0.5775, allocations: 357.9 kB / 0.7244 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000728/0.5783, allocations: 322.4 kB / 0.7247 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001044/0.5793, allocations: 0.6938 MB / 0.7254 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001697/0.581, allocations: 1.012 MB / 0.7264 GB, free: 7.77 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.456e-06/0.5811, allocations: 4 kB / 0.7264 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002524/0.5836, allocations: 1.222 MB / 0.7276 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/0.5836, allocations: 8 kB / 0.7276 GB, free: 6.527 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/0.5837, allocations: 8 kB / 0.7276 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.548e-05/0.5837, allocations: 20 kB / 0.7276 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/0.5847, allocations: 295.8 kB / 0.7279 GB, free: 6.211 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.459e-05/0.5847, allocations: 19.94 kB / 0.7279 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001605/0.5864, allocations: 234.4 kB / 0.7282 GB, free: 5.961 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.101e-05/0.5865, allocations: 55.92 kB / 0.7282 GB, free: 5.906 MB / 0.5606 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.0008473/0.5873, allocations: 441.5 kB / 0.7286 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003952/0.5877, allocations: 189.7 kB / 0.7288 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001831/0.5896, allocations: 0.8681 MB / 0.7297 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-05/0.5896, allocations: 8 kB / 0.7297 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.5896, allocations: 0 / 0.7297 GB, free: 4.406 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001405/0.591, allocations: 0.7996 MB / 0.7305 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004473/0.5955, allocations: 2.432 MB / 0.7328 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.5955, allocations: 4 kB / 0.7328 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007819/0.5963, allocations: 179.7 kB / 0.733 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.727e-06/0.5963, allocations: 4 kB / 0.733 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.91e-05/0.5964, allocations: 16 kB / 0.733 GB, free: 0.8398 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.466e-06/0.5964, allocations: 4.031 kB / 0.733 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.5964, allocations: 7.938 kB / 0.733 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002598/0.599, allocations: 1.335 MB / 0.7343 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007842/0.5998, allocations: 370.5 kB / 0.7347 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002405/0.6001, allocations: 12 kB / 0.7347 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00108/0.6011, allocations: 111.7 kB / 0.7348 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/0.6013, allocations: 60.36 kB / 0.7349 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.305e-05/0.6014, allocations: 35.98 kB / 0.7349 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001785/0.6032, allocations: 1.216 MB / 0.7361 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.91e-07/0.6032, allocations: 0 / 0.7361 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001776/0.6049, allocations: 0.6395 MB / 0.7367 GB, free: 12.98 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.001244/0.6062, allocations: 0.5959 MB / 0.7373 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002079/0.6083, allocations: 0.8867 MB / 0.7382 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.6083, allocations: 4 kB / 0.7382 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007274/0.609, allocations: 359 kB / 0.7385 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005028/0.6141, allocations: 1.204 MB / 0.7397 GB, free: 10.01 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005799/0.6199, allocations: 3.766 MB / 0.7434 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001122/0.6211, allocations: 1.396 MB / 0.7447 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005133/0.6216, allocations: 151.4 kB / 0.7449 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of SimCode: time 1.072e-06/0.6216, allocations: 0 / 0.7449 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of Templates: time 0.3156/0.9372, allocations: 34.46 MB / 0.7785 GB, free: 135.6 MB / 0.5762 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)