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.0009242/0.0009243, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006056/0.006056, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.417/1.417, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7591/0.7591, allocations: 132.3 MB / 423.8 MB, free: 1.953 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003284/0.0003285, allocations: 11.98 kB / 0.504 GB, free: 3.871 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4163/0.4166, allocations: 81.58 MB / 0.5837 GB, free: 4.012 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.04198/0.4587, allocations: 40.49 MB / 0.6232 GB, free: 5.332 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.0172/0.4759, allocations: 10.31 MB / 0.6333 GB, free: 12.96 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002331/0.4783, allocations: 51.41 kB / 0.6333 GB, free: 12.94 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002068/0.4804, allocations: 0.5286 MB / 0.6338 GB, free: 12.49 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005885/0.4863, allocations: 1.738 MB / 0.6355 GB, free: 11.1 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003734/0.49, allocations: 1.082 MB / 0.6366 GB, free: 10.09 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.006257/0.4963, allocations: 4.506 MB / 0.641 GB, free: 5.57 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00175/0.4981, allocations: 0.8636 MB / 0.6418 GB, free: 4.688 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002498/0.5006, allocations: 1.015 MB / 0.6428 GB, free: 3.668 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001934/0.5026, allocations: 0.8631 MB / 0.6437 GB, free: 2.801 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002836/0.5029, allocations: 36 kB / 0.6437 GB, free: 2.766 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002488/0.5054, allocations: 0.7715 MB / 0.6445 GB, free: 1.992 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003924/0.5058, allocations: 211 kB / 0.6447 GB, free: 1.785 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001097/0.5069, allocations: 0.5768 MB / 0.6452 GB, free: 1.199 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003333/0.5102, allocations: 1.849 MB / 0.647 GB, free: 15.34 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.5102, allocations: 0 / 0.647 GB, free: 15.34 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.5103, allocations: 0 / 0.647 GB, free: 15.34 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.254e-05/0.5103, allocations: 0 / 0.647 GB, free: 15.34 MB / 494.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.002704/0.513, allocations: 1.297 MB / 0.6483 GB, free: 13.99 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.5131, allocations: 16.02 kB / 0.6483 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004681/0.5136, allocations: 131.5 kB / 0.6484 GB, free: 13.85 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00201/0.5156, allocations: 1.072 MB / 0.6495 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.061e-05/0.5156, allocations: 58 kB / 0.6495 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001294/0.5158, allocations: 72 kB / 0.6496 GB, free: 12.61 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001464/0.5172, allocations: 0.7983 MB / 0.6504 GB, free: 11.78 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.215e-05/0.5173, allocations: 4 kB / 0.6504 GB, free: 11.77 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.99e-05/0.5174, allocations: 35.98 kB / 0.6504 GB, free: 11.74 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.225e-05/0.5174, allocations: 19.98 kB / 0.6505 GB, free: 11.72 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001166/0.5186, allocations: 0.5906 MB / 0.651 GB, free: 11.12 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.005071/0.5237, allocations: 3.551 MB / 0.6545 GB, free: 7.344 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005728/0.5242, allocations: 266.4 kB / 0.6548 GB, free: 7.074 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003558/0.5246, allocations: 190.2 kB / 0.6549 GB, free: 6.887 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005765/0.5252, allocations: 0.661 MB / 0.6556 GB, free: 6.078 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.421e-05/0.5253, allocations: 34.56 kB / 0.6556 GB, free: 6.035 MB / 494.1 MB Notification: Performance of pre-optimization done (n=31): time 2.905e-06/0.5253, allocations: 0 / 0.6556 GB, free: 6.035 MB / 494.1 MB Notification: Performance of matching and sorting (n=31): time 0.001441/0.5267, allocations: 0.5528 MB / 0.6562 GB, free: 5.477 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.463e-05/0.5268, allocations: 51.41 kB / 0.6562 GB, free: 5.414 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001291/0.5281, allocations: 0.9416 MB / 0.6571 GB, free: 4.453 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.421e-05/0.5282, allocations: 33.7 kB / 0.6572 GB, free: 4.414 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004181/0.5286, allocations: 0.4917 MB / 0.6576 GB, free: 3.914 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001239/0.5287, allocations: 114.4 kB / 0.6577 GB, free: 3.801 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.179e-05/0.5288, allocations: 49.7 kB / 0.6578 GB, free: 3.746 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.5289, allocations: 333.9 kB / 0.6581 GB, free: 3.414 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003745/0.5293, allocations: 173 kB / 0.6583 GB, free: 3.246 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005239/0.5298, allocations: 364.5 kB / 0.6586 GB, free: 2.82 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00085/0.5307, allocations: 0.5351 MB / 0.6591 GB, free: 2.215 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/0.5307, allocations: 4 kB / 0.6591 GB, free: 2.211 MB / 494.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001216/0.5319, allocations: 0.6381 MB / 0.6598 GB, free: 1.566 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.527e-05/0.532, allocations: 8 kB / 0.6598 GB, free: 1.559 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.532, allocations: 4 kB / 0.6598 GB, free: 1.555 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.067e-05/0.532, allocations: 11.94 kB / 0.6598 GB, free: 1.543 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004416/0.5325, allocations: 131.8 kB / 0.6599 GB, free: 1.414 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.942e-05/0.5325, allocations: 15.88 kB / 0.6599 GB, free: 1.398 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007591/0.5333, allocations: 123.1 kB / 0.66 GB, free: 1.277 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-05/0.5333, allocations: 24 kB / 0.6601 GB, free: 1.254 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.0004534/0.5338, allocations: 277.6 kB / 0.6603 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001334/0.5339, allocations: 94.88 kB / 0.6604 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009822/0.5349, allocations: 0.492 MB / 0.6609 GB, free: 400 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.377e-05/0.5349, allocations: 4 kB / 0.6609 GB, free: 396 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.5349, allocations: 7.938 kB / 0.6609 GB, free: 388 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000763/0.5357, allocations: 474.4 kB / 0.6614 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002234/0.538, allocations: 1.379 MB / 0.6627 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.538, allocations: 0 / 0.6627 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003517/0.5383, allocations: 80.11 kB / 0.6628 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.655e-06/0.5384, allocations: 4 kB / 0.6628 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.745e-05/0.5384, allocations: 15.92 kB / 0.6628 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.22e-06/0.5384, allocations: 4 kB / 0.6628 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.5384, allocations: 0 / 0.6628 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001292/0.5397, allocations: 0.8022 MB / 0.6636 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003484/0.5401, allocations: 243.7 kB / 0.6638 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001095/0.5402, allocations: 8 kB / 0.6638 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005474/0.5407, allocations: 59.86 kB / 0.6639 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.356e-05/0.5408, allocations: 27.95 kB / 0.6639 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-05/0.5409, allocations: 19.98 kB / 0.6639 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008945/0.5418, allocations: 0.651 MB / 0.6646 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.81e-07/0.5418, allocations: 4 kB / 0.6646 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001066/0.5428, allocations: 331.4 kB / 0.6649 GB, free: 12.14 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.0007397/0.5436, allocations: 381.6 kB / 0.6653 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009174/0.5445, allocations: 441.1 kB / 0.6657 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.5445, allocations: 0 / 0.6657 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003818/0.5449, allocations: 197.3 kB / 0.6659 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003001/0.5479, allocations: 0.5936 MB / 0.6665 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002643/0.5506, allocations: 2.001 MB / 0.6684 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000607/0.5512, allocations: 1.036 MB / 0.6694 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007298/0.5519, allocations: 198.3 kB / 0.6696 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001574/0.5521, allocations: 75.42 kB / 0.6697 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of SimCode: time 9.02e-07/0.5521, allocations: 4 kB / 0.6697 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of Templates: time 0.03443/0.5866, allocations: 20.19 MB / 0.6894 GB, free: 3.285 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)