Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001549/0.001549, 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.001748/0.001748, allocations: 193.7 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.366/1.366, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9594/0.9594, allocations: 135.1 MB / 425.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00227/0.00227, allocations: 64.12 kB / 0.5053 GB, free: 5.305 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.18/0.1823, allocations: 80.93 MB / 0.5844 GB, free: 4.527 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.3209/0.5032, allocations: 41.55 MB / 0.625 GB, free: 31.12 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01396/0.5172, allocations: 10.38 MB / 0.6351 GB, free: 23.7 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002524/0.5198, allocations: 58.22 kB / 0.6351 GB, free: 23.67 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001769/0.5216, allocations: 0.6469 MB / 0.6358 GB, free: 23.27 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004274/0.5259, allocations: 1.865 MB / 0.6376 GB, free: 22.17 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002502/0.5284, allocations: 1.176 MB / 0.6387 GB, free: 21.52 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003407/0.5318, allocations: 3.391 MB / 0.6421 GB, free: 19.89 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001164/0.533, allocations: 1.061 MB / 0.6431 GB, free: 19.4 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002173/0.5352, allocations: 1.229 MB / 0.6443 GB, free: 18.82 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008426/0.5361, allocations: 0.8906 MB / 0.6452 GB, free: 18.41 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001319/0.5362, allocations: 105.3 kB / 0.6453 GB, free: 18.4 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001622/0.5378, allocations: 0.8574 MB / 0.6461 GB, free: 18.06 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002022/0.538, allocations: 266.8 kB / 0.6464 GB, free: 17.9 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004576/0.5385, allocations: 0.6326 MB / 0.647 GB, free: 17.52 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001866/0.5404, allocations: 1.916 MB / 0.6488 GB, free: 16.79 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.5404, allocations: 0 / 0.6488 GB, free: 16.79 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.315e-06/0.5404, allocations: 2.969 kB / 0.6488 GB, free: 16.79 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.563e-05/0.5404, allocations: 0 / 0.6488 GB, free: 16.79 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.001959/0.5424, allocations: 1.513 MB / 0.6503 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.407e-05/0.5424, allocations: 10.19 kB / 0.6503 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003193/0.5428, allocations: 136.1 kB / 0.6505 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001228/0.544, allocations: 1.039 MB / 0.6515 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.614e-05/0.544, allocations: 55.44 kB / 0.6515 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.998e-05/0.5441, allocations: 73.28 kB / 0.6516 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001071/0.5452, allocations: 0.7873 MB / 0.6524 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/0.5452, allocations: 0 / 0.6524 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.062e-05/0.5453, allocations: 35.5 kB / 0.6524 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.645e-05/0.5453, allocations: 25.56 kB / 0.6524 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001083/0.5464, allocations: 0.5704 MB / 0.653 GB, free: 14.41 MB / 0.4981 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.003449/0.5499, allocations: 3.578 MB / 0.6565 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005938/0.5505, allocations: 257.4 kB / 0.6567 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003699/0.5509, allocations: 176.9 kB / 0.6569 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004078/0.5513, allocations: 0.6551 MB / 0.6575 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.5513, allocations: 42.06 kB / 0.6576 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=31): time 1.733e-06/0.5513, allocations: 3.938 kB / 0.6576 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31): time 0.00124/0.5526, allocations: 0.5183 MB / 0.6581 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.406e-05/0.5526, allocations: 54.31 kB / 0.6581 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001237/0.5539, allocations: 0.9445 MB / 0.6591 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.032e-05/0.5539, allocations: 36.98 kB / 0.6591 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003686/0.5543, allocations: 0.4928 MB / 0.6596 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.785e-05/0.5544, allocations: 111.6 kB / 0.6597 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001716/0.5546, allocations: 122.5 kB / 0.6598 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.863e-05/0.5547, allocations: 330.1 kB / 0.6601 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003889/0.5551, allocations: 162.6 kB / 0.6603 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004812/0.5556, allocations: 348.4 kB / 0.6606 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007887/0.5563, allocations: 0.5159 MB / 0.6611 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.5564, allocations: 1.344 kB / 0.6611 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001141/0.5575, allocations: 0.6169 MB / 0.6617 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.5575, allocations: 7.438 kB / 0.6617 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.5576, allocations: 5.453 kB / 0.6617 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.375e-05/0.5576, allocations: 8.625 kB / 0.6617 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004805/0.5581, allocations: 126.9 kB / 0.6619 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.697e-05/0.5581, allocations: 14.17 kB / 0.6619 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006249/0.5587, allocations: 87.14 kB / 0.6619 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.322e-05/0.5588, allocations: 29.83 kB / 0.662 GB, free: 8.262 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (65): * Single equations (assignments): 65 * 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.0003137/0.5591, allocations: 279.7 kB / 0.6622 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001498/0.5593, allocations: 99.31 kB / 0.6623 GB, free: 8 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009692/0.5602, allocations: 480.3 kB / 0.6628 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.2e-05/0.5603, allocations: 3.703 kB / 0.6628 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.5603, allocations: 1.344 kB / 0.6628 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006927/0.561, allocations: 461.6 kB / 0.6632 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001956/0.5629, allocations: 1.363 MB / 0.6646 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.563, allocations: 1.062 kB / 0.6646 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003289/0.5633, allocations: 81.33 kB / 0.6647 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.74e-06/0.5633, allocations: 3.875 kB / 0.6647 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.39e-05/0.5633, allocations: 9.203 kB / 0.6647 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.5633, allocations: 3.172 kB / 0.6647 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.5634, allocations: 5.219 kB / 0.6647 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001201/0.5646, allocations: 0.761 MB / 0.6654 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002605/0.5648, allocations: 229.8 kB / 0.6656 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001182/0.565, allocations: 7.906 kB / 0.6656 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004941/0.5655, allocations: 35.78 kB / 0.6657 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.929e-05/0.5655, allocations: 29.81 kB / 0.6657 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.892e-05/0.5656, allocations: 15.67 kB / 0.6657 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008048/0.5664, allocations: 0.665 MB / 0.6664 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5664, allocations: 1.281 kB / 0.6664 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009649/0.5674, allocations: 338.4 kB / 0.6667 GB, free: 5.82 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0006803/0.5681, allocations: 391.9 kB / 0.6671 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000963/0.569, allocations: 443 kB / 0.6675 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.569, allocations: 1.156 kB / 0.6675 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003701/0.5694, allocations: 189.1 kB / 0.6677 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002638/0.5721, allocations: 0.6148 MB / 0.6683 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002234/0.5743, allocations: 1.611 MB / 0.6698 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004921/0.5748, allocations: 1.042 MB / 0.6709 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007521/0.5756, allocations: 195.2 kB / 0.671 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001508/0.5757, allocations: 80.47 kB / 0.6711 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of SimCode: time 6.71e-07/0.5757, allocations: 1.375 kB / 0.6711 GB, free: 3.547 MB / 0.4981 GB Notification: Performance of Templates: time 0.04135/0.6171, allocations: 21.25 MB / 0.6919 GB, free: 12.59 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)