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.006141/0.006141, allocations: 100.8 kB / 15.87 MB, free: 5.871 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.001131/0.001131, allocations: 195.8 kB / 16.79 MB, free: 5.816 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.356/1.356, allocations: 222.9 MB / 240.5 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9506/0.9506, allocations: 135.1 MB / 425.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 59.38 kB / 0.5053 GB, free: 5.707 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.159, allocations: 80.92 MB / 0.5843 GB, free: 4.961 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.3259/0.4849, allocations: 41.33 MB / 0.6247 GB, free: 31.34 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01238/0.4974, allocations: 10.44 MB / 0.6349 GB, free: 24 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002284/0.4997, allocations: 52.81 kB / 0.6349 GB, free: 23.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001772/0.5015, allocations: 0.527 MB / 0.6355 GB, free: 23.67 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004969/0.5065, allocations: 1.744 MB / 0.6372 GB, free: 22.64 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00283/0.5094, allocations: 1.068 MB / 0.6382 GB, free: 22.03 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004761/0.5141, allocations: 4.505 MB / 0.6426 GB, free: 20.36 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001336/0.5155, allocations: 0.881 MB / 0.6435 GB, free: 20 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00207/0.5176, allocations: 1.053 MB / 0.6445 GB, free: 19.54 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001309/0.5189, allocations: 0.8946 MB / 0.6454 GB, free: 19.15 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001432/0.5191, allocations: 53.88 kB / 0.6454 GB, free: 19.14 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001959/0.521, allocations: 0.7795 MB / 0.6462 GB, free: 18.84 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002355/0.5213, allocations: 227.1 kB / 0.6464 GB, free: 18.73 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006208/0.5219, allocations: 0.5719 MB / 0.647 GB, free: 18.4 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001494/0.5234, allocations: 1.471 MB / 0.6484 GB, free: 17.92 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.5234, allocations: 0 / 0.6484 GB, free: 17.92 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.854e-06/0.5234, allocations: 3.062 kB / 0.6484 GB, free: 17.92 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.627e-05/0.5235, allocations: 3.938 kB / 0.6484 GB, free: 17.92 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.002279/0.5258, allocations: 1.516 MB / 0.6499 GB, free: 16.89 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.5258, allocations: 7.875 kB / 0.6499 GB, free: 16.89 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003324/0.5261, allocations: 131.7 kB / 0.65 GB, free: 16.82 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001413/0.5276, allocations: 1.077 MB / 0.6511 GB, free: 16.16 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.846e-05/0.5276, allocations: 60.44 kB / 0.6511 GB, free: 16.13 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.972e-05/0.5277, allocations: 70.77 kB / 0.6512 GB, free: 16.11 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001304/0.529, allocations: 0.7864 MB / 0.652 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/0.5291, allocations: 3.938 kB / 0.652 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.114e-05/0.5291, allocations: 31.53 kB / 0.652 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.689e-05/0.5292, allocations: 21.59 kB / 0.652 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001129/0.5303, allocations: 0.5743 MB / 0.6526 GB, free: 15.51 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.003549/0.5339, allocations: 3.536 MB / 0.656 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006036/0.5345, allocations: 260.1 kB / 0.6563 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003636/0.5348, allocations: 179.4 kB / 0.6564 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003974/0.5353, allocations: 0.655 MB / 0.6571 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.5353, allocations: 45.39 kB / 0.6571 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=31): time 2.345e-06/0.5353, allocations: 1.25 kB / 0.6571 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31): time 0.001302/0.5366, allocations: 0.5039 MB / 0.6576 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.889e-05/0.5367, allocations: 59.08 kB / 0.6577 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001311/0.538, allocations: 0.9366 MB / 0.6586 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.168e-05/0.538, allocations: 36.67 kB / 0.6586 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003531/0.5384, allocations: 0.4925 MB / 0.6591 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001061/0.5385, allocations: 108.2 kB / 0.6592 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001798/0.5387, allocations: 110.2 kB / 0.6593 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.969e-05/0.5388, allocations: 333.8 kB / 0.6596 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000361/0.5391, allocations: 165.5 kB / 0.6598 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004788/0.5396, allocations: 352.5 kB / 0.6601 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008075/0.5404, allocations: 0.5089 MB / 0.6606 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/0.5404, allocations: 1.25 kB / 0.6606 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001193/0.5416, allocations: 0.6283 MB / 0.6612 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.5417, allocations: 7.672 kB / 0.6612 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.5417, allocations: 7.016 kB / 0.6613 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.475e-05/0.5417, allocations: 8.312 kB / 0.6613 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004422/0.5422, allocations: 123.4 kB / 0.6614 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.88e-05/0.5422, allocations: 13.94 kB / 0.6614 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007742/0.543, allocations: 109.9 kB / 0.6615 GB, free: 9.398 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.404e-05/0.543, allocations: 34.25 kB / 0.6615 GB, free: 9.387 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.0003541/0.5434, allocations: 279 kB / 0.6618 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001643/0.5436, allocations: 103.3 kB / 0.6619 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001/0.5446, allocations: 475.4 kB / 0.6624 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-05/0.5446, allocations: 4.438 kB / 0.6624 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.5446, allocations: 6.188 kB / 0.6624 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000753/0.5454, allocations: 452.3 kB / 0.6628 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002205/0.5476, allocations: 1.359 MB / 0.6641 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.5476, allocations: 1.438 kB / 0.6641 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003358/0.5479, allocations: 80.47 kB / 0.6642 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.662e-06/0.548, allocations: 3.594 kB / 0.6642 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.653e-05/0.548, allocations: 9.266 kB / 0.6642 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/0.548, allocations: 10.81 kB / 0.6642 GB, free: 7.926 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.548, allocations: 7.453 kB / 0.6642 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001211/0.5492, allocations: 0.7592 MB / 0.665 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003185/0.5496, allocations: 229.1 kB / 0.6652 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/0.5497, allocations: 9.031 kB / 0.6652 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005488/0.5502, allocations: 56.55 kB / 0.6652 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.264e-05/0.5503, allocations: 28.31 kB / 0.6653 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.151e-05/0.5504, allocations: 20.73 kB / 0.6653 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008753/0.5512, allocations: 0.6512 MB / 0.6659 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5513, allocations: 0 / 0.6659 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001143/0.5524, allocations: 335.1 kB / 0.6663 GB, free: 6.945 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.000835/0.5532, allocations: 388.5 kB / 0.6666 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009373/0.5542, allocations: 414.3 kB / 0.667 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.5542, allocations: 0 / 0.667 GB, free: 6.645 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003875/0.5546, allocations: 187 kB / 0.6672 GB, free: 6.59 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002717/0.5573, allocations: 0.5876 MB / 0.6678 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002459/0.5598, allocations: 1.97 MB / 0.6697 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004953/0.5603, allocations: 1.034 MB / 0.6707 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002086/0.5605, allocations: 85.78 kB / 0.6708 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of SimCode: time 5.51e-07/0.5605, allocations: 1.375 kB / 0.6708 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of Templates: time 0.03077/0.5913, allocations: 17.83 MB / 0.6882 GB, free: 14.8 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)