Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001189/0.001189, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001296/0.001296, allocations: 193.3 kB / 16.25 MB, free: 6.621 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.303/1.303, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7562/0.7562, allocations: 132.2 MB / 422.3 MB, free: 1.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 62 kB / 0.5013 GB, free: 4.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3891/0.3903, allocations: 80.19 MB / 0.5796 GB, free: 4.539 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.0435/0.4338, allocations: 41.25 MB / 0.6199 GB, free: 5.477 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01619/0.4501, allocations: 10.31 MB / 0.63 GB, free: 13.07 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00207/0.4522, allocations: 50.75 kB / 0.63 GB, free: 13.05 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001847/0.454, allocations: 0.5611 MB / 0.6305 GB, free: 12.58 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004711/0.4588, allocations: 1.75 MB / 0.6323 GB, free: 11.2 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002776/0.4616, allocations: 1.087 MB / 0.6333 GB, free: 10.41 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.004513/0.4661, allocations: 3.414 MB / 0.6367 GB, free: 7.141 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001395/0.4675, allocations: 1.05 MB / 0.6377 GB, free: 6.07 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002806/0.4703, allocations: 1.234 MB / 0.6389 GB, free: 4.836 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001102/0.4714, allocations: 0.9256 MB / 0.6398 GB, free: 3.906 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001394/0.4716, allocations: 100 kB / 0.6399 GB, free: 3.809 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001929/0.4735, allocations: 0.8693 MB / 0.6407 GB, free: 2.938 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002637/0.4738, allocations: 275 kB / 0.641 GB, free: 2.668 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006124/0.4744, allocations: 0.6337 MB / 0.6416 GB, free: 2.031 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002376/0.4768, allocations: 1.924 MB / 0.6435 GB, free: 104 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.4768, allocations: 0 / 0.6435 GB, free: 104 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4768, allocations: 0 / 0.6435 GB, free: 104 kB / 478.1 MB Notification: Performance of Transformations before backend: time 1.513e-05/0.4769, allocations: 4 kB / 0.6435 GB, free: 100 kB / 478.1 MB 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.002444/0.4793, allocations: 1.511 MB / 0.645 GB, free: 14.54 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.4794, allocations: 12.03 kB / 0.645 GB, free: 14.52 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003534/0.4797, allocations: 135.4 kB / 0.6451 GB, free: 14.39 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001535/0.4813, allocations: 1.087 MB / 0.6462 GB, free: 13.26 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.763e-05/0.4813, allocations: 58 kB / 0.6462 GB, free: 13.21 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/0.4814, allocations: 68 kB / 0.6463 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001379/0.4828, allocations: 0.7905 MB / 0.6471 GB, free: 12.32 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.736e-05/0.4829, allocations: 4 kB / 0.6471 GB, free: 12.31 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.703e-05/0.4829, allocations: 31.98 kB / 0.6471 GB, free: 12.28 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.19e-05/0.483, allocations: 20 kB / 0.6471 GB, free: 12.26 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00108/0.4841, allocations: 0.575 MB / 0.6477 GB, free: 11.68 MB / 494.1 MB 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.003939/0.488, allocations: 3.551 MB / 0.6511 GB, free: 7.902 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005547/0.4886, allocations: 250.5 kB / 0.6514 GB, free: 7.648 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003299/0.4889, allocations: 178.9 kB / 0.6516 GB, free: 7.473 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005406/0.4895, allocations: 0.6615 MB / 0.6522 GB, free: 6.664 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.319e-05/0.4895, allocations: 38.56 kB / 0.6522 GB, free: 6.617 MB / 494.1 MB Notification: Performance of pre-optimization done (n=31): time 2.254e-06/0.4895, allocations: 0 / 0.6522 GB, free: 6.617 MB / 494.1 MB Notification: Performance of matching and sorting (n=31): time 0.001175/0.4907, allocations: 0.5171 MB / 0.6527 GB, free: 6.094 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.667e-05/0.4908, allocations: 55.41 kB / 0.6528 GB, free: 6.027 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001043/0.4918, allocations: 0.9299 MB / 0.6537 GB, free: 5.078 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.375e-05/0.4919, allocations: 37.7 kB / 0.6537 GB, free: 5.035 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003794/0.4922, allocations: 0.4956 MB / 0.6542 GB, free: 4.535 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/0.4924, allocations: 106.5 kB / 0.6543 GB, free: 4.43 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000156/0.4925, allocations: 118.1 kB / 0.6544 GB, free: 4.309 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.4926, allocations: 326 kB / 0.6547 GB, free: 3.984 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003328/0.493, allocations: 161 kB / 0.6549 GB, free: 3.828 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004904/0.4935, allocations: 352.4 kB / 0.6552 GB, free: 3.41 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008193/0.4943, allocations: 0.5155 MB / 0.6557 GB, free: 2.824 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.4943, allocations: 0 / 0.6557 GB, free: 2.824 MB / 494.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001081/0.4954, allocations: 0.6261 MB / 0.6564 GB, free: 2.191 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.832e-05/0.4955, allocations: 11.94 kB / 0.6564 GB, free: 2.18 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.4955, allocations: 4 kB / 0.6564 GB, free: 2.176 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.4955, allocations: 8 kB / 0.6564 GB, free: 2.168 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004235/0.4959, allocations: 119.8 kB / 0.6565 GB, free: 2.051 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.417e-05/0.4959, allocations: 11.98 kB / 0.6565 GB, free: 2.039 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006767/0.4966, allocations: 111.5 kB / 0.6566 GB, free: 1.93 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.936e-05/0.4967, allocations: 31.98 kB / 0.6566 GB, free: 1.898 MB / 494.1 MB 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.0003522/0.497, allocations: 273.6 kB / 0.6569 GB, free: 1.621 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001501/0.4972, allocations: 102.8 kB / 0.657 GB, free: 1.52 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009825/0.4982, allocations: 483.8 kB / 0.6575 GB, free: 1.047 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.167e-05/0.4982, allocations: 4 kB / 0.6575 GB, free: 1.043 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.4982, allocations: 0 / 0.6575 GB, free: 1.043 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007171/0.499, allocations: 454.3 kB / 0.6579 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002028/0.501, allocations: 1.356 MB / 0.6592 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.501, allocations: 3.984 kB / 0.6592 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00033/0.5013, allocations: 79.98 kB / 0.6593 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.713e-06/0.5014, allocations: 8 kB / 0.6593 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.849e-05/0.5014, allocations: 8.062 kB / 0.6593 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.871e-06/0.5014, allocations: 8 kB / 0.6593 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.5014, allocations: 0 / 0.6593 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001248/0.5027, allocations: 0.7708 MB / 0.6601 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003296/0.503, allocations: 223.9 kB / 0.6603 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001462/0.5032, allocations: 8 kB / 0.6603 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006003/0.5038, allocations: 51.86 kB / 0.6603 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.107e-05/0.5039, allocations: 27.97 kB / 0.6604 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.16e-05/0.5039, allocations: 23.98 kB / 0.6604 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008511/0.5048, allocations: 0.6549 MB / 0.661 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.6e-07/0.5048, allocations: 0 / 0.661 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001021/0.5058, allocations: 335.5 kB / 0.6614 GB, free: 12.9 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.0007952/0.5066, allocations: 382.1 kB / 0.6617 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009636/0.5076, allocations: 444.5 kB / 0.6621 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.5076, allocations: 0 / 0.6621 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003788/0.508, allocations: 185.8 kB / 0.6623 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002699/0.5107, allocations: 0.611 MB / 0.6629 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002924/0.5136, allocations: 1.934 MB / 0.6648 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000627/0.5143, allocations: 1.04 MB / 0.6658 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000798/0.5151, allocations: 205.7 kB / 0.666 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001984/0.5153, allocations: 79.42 kB / 0.6661 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of SimCode: time 1.062e-06/0.5153, allocations: 0 / 0.6661 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of Templates: time 0.03617/0.5515, allocations: 20.72 MB / 0.6863 GB, free: 3.605 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)