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.001791/0.001791, allocations: 108 kB / 15.6 MB, free: 132 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.001979/0.001979, allocations: 193.3 kB / 16.53 MB, free: 6.391 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.35/1.35, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9638/0.9638, allocations: 135.1 MB / 425.5 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 63.22 kB / 0.5053 GB, free: 5.34 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.1681, allocations: 80.92 MB / 0.5844 GB, free: 4.578 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.3143/0.4824, allocations: 77.13 MB / 0.6597 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02546/0.5079, allocations: 18.86 MB / 0.6781 GB, free: 8.008 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003534/0.5115, allocations: 107.9 kB / 0.6782 GB, free: 7.969 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003308/0.5148, allocations: 1.241 MB / 0.6794 GB, free: 7.207 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00959/0.5245, allocations: 3.63 MB / 0.683 GB, free: 5.039 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005604/0.5301, allocations: 2.071 MB / 0.685 GB, free: 3.887 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.009773/0.5399, allocations: 6.665 MB / 0.6915 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003431/0.5433, allocations: 2.097 MB / 0.6935 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00686/0.5502, allocations: 2.294 MB / 0.6958 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004378/0.5546, allocations: 1.751 MB / 0.6975 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0007876/0.5554, allocations: 199.4 kB / 0.6977 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005702/0.5611, allocations: 1.617 MB / 0.6993 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0008594/0.562, allocations: 0.5346 MB / 0.6998 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002954/0.565, allocations: 1.254 MB / 0.701 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.007627/0.5726, allocations: 3.712 MB / 0.7046 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.5726, allocations: 0 / 0.7046 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.482e-06/0.5727, allocations: 0 / 0.7046 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001074/0.5728, allocations: 0 / 0.7046 GB, free: 10.64 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.007853/0.5806, allocations: 2.725 MB / 0.7073 GB, free: 8.906 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.5807, allocations: 9.562 kB / 0.7073 GB, free: 8.906 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001208/0.5819, allocations: 264 kB / 0.7075 GB, free: 8.785 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00357/0.5855, allocations: 1.902 MB / 0.7094 GB, free: 7.609 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.206e-05/0.5856, allocations: 109.1 kB / 0.7095 GB, free: 7.559 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001975/0.5858, allocations: 143.5 kB / 0.7096 GB, free: 7.512 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002727/0.5885, allocations: 1.523 MB / 0.7111 GB, free: 6.539 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.33e-05/0.5886, allocations: 5.344 kB / 0.7111 GB, free: 6.535 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001216/0.5887, allocations: 57.94 kB / 0.7112 GB, free: 6.492 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.61e-05/0.5887, allocations: 40.36 kB / 0.7112 GB, free: 6.488 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002303/0.591, allocations: 1.129 MB / 0.7123 GB, free: 5.918 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.00897/0.6, allocations: 7.661 MB / 0.7198 GB, free: 15.03 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/0.6011, allocations: 475.5 kB / 0.7203 GB, free: 14.8 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006579/0.6017, allocations: 331 kB / 0.7206 GB, free: 14.64 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009442/0.6027, allocations: 1.151 MB / 0.7217 GB, free: 13.29 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.6027, allocations: 42.75 kB / 0.7217 GB, free: 13.24 MB / 0.545 GB Notification: Performance of pre-optimization done (n=59): time 2.494e-06/0.6027, allocations: 2.125 kB / 0.7217 GB, free: 13.24 MB / 0.545 GB Notification: Performance of matching and sorting (n=59): time 0.002437/0.6052, allocations: 0.9629 MB / 0.7227 GB, free: 12.77 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.609e-05/0.6052, allocations: 57.38 kB / 0.7227 GB, free: 12.7 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002595/0.6079, allocations: 1.787 MB / 0.7245 GB, free: 11.71 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001222/0.608, allocations: 45.92 kB / 0.7245 GB, free: 11.67 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008146/0.6088, allocations: 0.933 MB / 0.7254 GB, free: 10.84 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002445/0.6091, allocations: 214.4 kB / 0.7256 GB, free: 10.66 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003431/0.6094, allocations: 236.3 kB / 0.7259 GB, free: 10.52 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.6096, allocations: 346.2 kB / 0.7262 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007402/0.6103, allocations: 329.2 kB / 0.7265 GB, free: 10.02 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001045/0.6114, allocations: 0.6917 MB / 0.7272 GB, free: 9.398 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001775/0.6131, allocations: 1.014 MB / 0.7282 GB, free: 8.426 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/0.6132, allocations: 0 / 0.7282 GB, free: 8.426 MB / 0.545 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002919/0.6161, allocations: 1.218 MB / 0.7294 GB, free: 7.195 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.256e-05/0.6161, allocations: 12 kB / 0.7294 GB, free: 7.184 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.027e-05/0.6162, allocations: 8 kB / 0.7294 GB, free: 7.176 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.565e-05/0.6162, allocations: 16 kB / 0.7294 GB, free: 7.16 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/0.6173, allocations: 292 kB / 0.7297 GB, free: 6.875 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.26e-05/0.6173, allocations: 23.92 kB / 0.7297 GB, free: 6.852 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001775/0.6191, allocations: 166.4 kB / 0.7299 GB, free: 6.688 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000101/0.6192, allocations: 48 kB / 0.7299 GB, free: 6.641 MB / 0.545 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.0008508/0.6201, allocations: 445.4 kB / 0.7303 GB, free: 6.195 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006528/0.6208, allocations: 189.7 kB / 0.7305 GB, free: 6.008 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002072/0.6228, allocations: 0.8746 MB / 0.7314 GB, free: 5.145 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.141e-05/0.6229, allocations: 11.98 kB / 0.7314 GB, free: 5.133 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.6229, allocations: 0 / 0.7314 GB, free: 5.133 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001371/0.6243, allocations: 0.7918 MB / 0.7322 GB, free: 4.293 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005054/0.6293, allocations: 2.451 MB / 0.7346 GB, free: 1.754 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.458e-06/0.6294, allocations: 3.984 kB / 0.7346 GB, free: 1.75 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008191/0.6302, allocations: 175.7 kB / 0.7347 GB, free: 1.578 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.311e-05/0.6302, allocations: 4.219 kB / 0.7347 GB, free: 1.574 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.7e-05/0.6303, allocations: 27.98 kB / 0.7348 GB, free: 1.547 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.404e-06/0.6303, allocations: 4 kB / 0.7348 GB, free: 1.543 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.6303, allocations: 7.938 kB / 0.7348 GB, free: 1.535 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002655/0.633, allocations: 1.339 MB / 0.7361 GB, free: 152 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009217/0.6339, allocations: 362.5 kB / 0.7364 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005549/0.6345, allocations: 20 kB / 0.7364 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001304/0.6358, allocations: 63.86 kB / 0.7365 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/0.6359, allocations: 52.42 kB / 0.7365 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.368e-05/0.636, allocations: 35.98 kB / 0.7366 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002004/0.638, allocations: 1.243 MB / 0.7378 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/0.638, allocations: 0 / 0.7378 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002325/0.6403, allocations: 0.6551 MB / 0.7384 GB, free: 13.69 MB / 0.5606 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.001613/0.642, allocations: 0.6108 MB / 0.739 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002268/0.6442, allocations: 0.8936 MB / 0.7399 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.6443, allocations: 0 / 0.7399 GB, free: 12.19 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007706/0.645, allocations: 356.4 kB / 0.7402 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006425/0.6515, allocations: 1.211 MB / 0.7414 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006355/0.6578, allocations: 3.093 MB / 0.7444 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001811/0.6597, allocations: 1.405 MB / 0.7458 GB, free: 6.094 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002283/0.662, allocations: 380.4 kB / 0.7462 GB, free: 5.719 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000509/0.6625, allocations: 155.4 kB / 0.7463 GB, free: 5.566 MB / 0.5606 GB Notification: Performance of SimCode: time 7.21e-07/0.6625, allocations: 0 / 0.7463 GB, free: 5.566 MB / 0.5606 GB Notification: Performance of Templates: time 0.07242/0.735, allocations: 41.76 MB / 0.7871 GB, free: 12.29 MB / 0.6075 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)