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.001044/0.001044, allocations: 108 kB / 15.61 MB, free: 152 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.001082/0.001082, allocations: 194.5 kB / 16.53 MB, free: 6.664 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.293/1.293, 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/package.mo): time 0.7413/0.7413, allocations: 132.2 MB / 422.6 MB, free: 1.777 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 68.3 kB / 0.5018 GB, free: 8.773 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1609, allocations: 80.2 MB / 0.5801 GB, free: 8.785 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.3248/0.4857, allocations: 41.55 MB / 0.6207 GB, free: 34.76 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01079/0.4966, allocations: 10.38 MB / 0.6308 GB, free: 28.34 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001566/0.4982, allocations: 59.28 kB / 0.6309 GB, free: 28.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001564/0.4998, allocations: 0.6425 MB / 0.6315 GB, free: 27.92 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004135/0.5039, allocations: 1.876 MB / 0.6333 GB, free: 26.81 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002356/0.5063, allocations: 1.17 MB / 0.6345 GB, free: 26.17 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002983/0.5093, allocations: 3.391 MB / 0.6378 GB, free: 24.54 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00104/0.5103, allocations: 1.059 MB / 0.6388 GB, free: 24.05 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002143/0.5125, allocations: 1.227 MB / 0.64 GB, free: 23.46 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008889/0.5134, allocations: 0.8839 MB / 0.6409 GB, free: 23.05 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001308/0.5135, allocations: 101.5 kB / 0.641 GB, free: 23.05 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001618/0.5152, allocations: 0.8565 MB / 0.6418 GB, free: 22.71 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001962/0.5154, allocations: 274.3 kB / 0.6421 GB, free: 22.55 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004719/0.5158, allocations: 0.6336 MB / 0.6427 GB, free: 22.16 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001753/0.5176, allocations: 1.917 MB / 0.6446 GB, free: 21.44 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.5176, allocations: 0 / 0.6446 GB, free: 21.44 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.172e-06/0.5176, allocations: 0 / 0.6446 GB, free: 21.44 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.306e-05/0.5176, allocations: 4 kB / 0.6446 GB, free: 21.43 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.001801/0.5194, allocations: 1.511 MB / 0.646 GB, free: 20.42 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.263e-05/0.5195, allocations: 8.75 kB / 0.646 GB, free: 20.42 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002955/0.5198, allocations: 138.3 kB / 0.6462 GB, free: 20.35 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001181/0.521, allocations: 1.054 MB / 0.6472 GB, free: 19.7 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.714e-05/0.521, allocations: 51.94 kB / 0.6473 GB, free: 19.68 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.431e-05/0.5211, allocations: 70.94 kB / 0.6473 GB, free: 19.66 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001021/0.5221, allocations: 0.794 MB / 0.6481 GB, free: 19.28 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.264e-05/0.5222, allocations: 3.938 kB / 0.6481 GB, free: 19.27 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.669e-05/0.5222, allocations: 35.86 kB / 0.6481 GB, free: 19.25 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.515e-05/0.5223, allocations: 20.92 kB / 0.6482 GB, free: 19.25 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008974/0.5232, allocations: 0.5735 MB / 0.6487 GB, free: 19.04 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.003109/0.5263, allocations: 3.573 MB / 0.6522 GB, free: 16.44 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005183/0.5268, allocations: 260.3 kB / 0.6525 GB, free: 16.34 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003186/0.5271, allocations: 182.9 kB / 0.6526 GB, free: 16.28 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003565/0.5275, allocations: 0.6553 MB / 0.6533 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.805e-05/0.5275, allocations: 36.59 kB / 0.6533 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=31): time 1.783e-06/0.5275, allocations: 4 kB / 0.6533 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31): time 0.001129/0.5287, allocations: 0.5089 MB / 0.6538 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.352e-05/0.5287, allocations: 55.16 kB / 0.6539 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001044/0.5297, allocations: 0.9431 MB / 0.6548 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.596e-05/0.5298, allocations: 37.27 kB / 0.6548 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002887/0.5301, allocations: 0.496 MB / 0.6553 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.918e-05/0.5302, allocations: 115.5 kB / 0.6554 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001435/0.5303, allocations: 113.3 kB / 0.6555 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.573e-05/0.5304, allocations: 330 kB / 0.6558 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003358/0.5307, allocations: 166.5 kB / 0.656 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004196/0.5312, allocations: 352.1 kB / 0.6563 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007281/0.5319, allocations: 0.5102 MB / 0.6568 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.5319, allocations: 4.062 kB / 0.6568 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001088/0.533, allocations: 0.623 MB / 0.6574 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.533, allocations: 8.938 kB / 0.6574 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.533, allocations: 4.75 kB / 0.6575 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.609e-05/0.5331, allocations: 11.56 kB / 0.6575 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000413/0.5335, allocations: 126.9 kB / 0.6576 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.566e-05/0.5335, allocations: 14.98 kB / 0.6576 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005809/0.5341, allocations: 80.22 kB / 0.6577 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.7e-05/0.5342, allocations: 31.11 kB / 0.6577 GB, free: 12.9 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.0002985/0.5345, allocations: 279.9 kB / 0.658 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000151/0.5346, allocations: 98.16 kB / 0.6581 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009884/0.5356, allocations: 474.8 kB / 0.6585 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.5356, allocations: 4.266 kB / 0.6585 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.5356, allocations: 4 kB / 0.6585 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007015/0.5364, allocations: 453.6 kB / 0.659 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001896/0.5383, allocations: 1.363 MB / 0.6603 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.5383, allocations: 6.188 kB / 0.6603 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003118/0.5386, allocations: 78.19 kB / 0.6604 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.5386, allocations: 2.375 kB / 0.6604 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.385e-05/0.5386, allocations: 9.734 kB / 0.6604 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.5386, allocations: 13.44 kB / 0.6604 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.5386, allocations: 3.016 kB / 0.6604 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001136/0.5398, allocations: 0.7602 MB / 0.6611 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002472/0.54, allocations: 229.7 kB / 0.6614 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/0.5402, allocations: 8.625 kB / 0.6614 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004724/0.5406, allocations: 31.39 kB / 0.6614 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.348e-05/0.5407, allocations: 29.38 kB / 0.6614 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.889e-05/0.5408, allocations: 15.47 kB / 0.6614 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007626/0.5415, allocations: 0.6619 MB / 0.6621 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.61e-07/0.5415, allocations: 0 / 0.6621 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000898/0.5425, allocations: 343.5 kB / 0.6624 GB, free: 10.46 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.000631/0.5431, allocations: 399.8 kB / 0.6628 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008852/0.544, allocations: 448.6 kB / 0.6632 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.544, allocations: 448 / 0.6632 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003782/0.5444, allocations: 188.2 kB / 0.6634 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002502/0.5469, allocations: 0.6069 MB / 0.664 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002149/0.5491, allocations: 1.611 MB / 0.6656 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004912/0.5496, allocations: 1.038 MB / 0.6666 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007381/0.5503, allocations: 195.3 kB / 0.6668 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000155/0.5505, allocations: 83.55 kB / 0.6668 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of SimCode: time 6.31e-07/0.5505, allocations: 1 kB / 0.6668 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of Templates: time 0.03831/0.5888, allocations: 21.24 MB / 0.6876 GB, free: 1.855 MB / 0.4981 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)