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.001451/0.001451, allocations: 105.9 kB / 16.27 MB, free: 6.41 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.001461/0.001461, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.299/1.299, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7906/0.7906, allocations: 135.2 MB / 426.2 MB, free: 4.145 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00182/0.00182, allocations: 67.89 kB / 0.506 GB, free: 8.359 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3218/0.3236, allocations: 80.92 MB / 0.5851 GB, free: 25.24 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.03335/0.357, allocations: 41.58 MB / 0.6257 GB, free: 0.9023 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01525/0.3723, allocations: 10.38 MB / 0.6358 GB, free: 6.504 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001757/0.3741, allocations: 55.69 kB / 0.6358 GB, free: 6.449 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001687/0.3758, allocations: 0.6365 MB / 0.6365 GB, free: 5.809 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004726/0.3806, allocations: 1.878 MB / 0.6383 GB, free: 3.922 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002845/0.3834, allocations: 1.177 MB / 0.6394 GB, free: 2.758 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.004517/0.388, allocations: 3.372 MB / 0.6427 GB, free: 15.37 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001549/0.3895, allocations: 1.081 MB / 0.6438 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002865/0.3924, allocations: 1.223 MB / 0.645 GB, free: 13.05 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001455/0.3939, allocations: 0.8867 MB / 0.6459 GB, free: 12.16 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001929/0.3941, allocations: 100 kB / 0.646 GB, free: 12.06 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001975/0.3961, allocations: 0.8539 MB / 0.6468 GB, free: 11.21 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003557/0.3964, allocations: 283 kB / 0.6471 GB, free: 10.93 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007644/0.3972, allocations: 0.6299 MB / 0.6477 GB, free: 10.3 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00284/0.4, allocations: 1.912 MB / 0.6495 GB, free: 8.379 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.4001, allocations: 0 / 0.6495 GB, free: 8.379 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.4001, allocations: 3.938 kB / 0.6495 GB, free: 8.375 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2e-05/0.4001, allocations: 0 / 0.6495 GB, free: 8.375 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.002537/0.4026, allocations: 1.519 MB / 0.651 GB, free: 6.805 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.4027, allocations: 13.05 kB / 0.651 GB, free: 6.793 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003599/0.4031, allocations: 135.4 kB / 0.6512 GB, free: 6.66 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001626/0.4047, allocations: 1.037 MB / 0.6522 GB, free: 5.578 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.147e-05/0.4048, allocations: 61.98 kB / 0.6522 GB, free: 5.52 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/0.4049, allocations: 72 kB / 0.6523 GB, free: 5.449 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001365/0.4062, allocations: 0.7866 MB / 0.6531 GB, free: 4.629 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/0.4063, allocations: 0 / 0.6531 GB, free: 4.629 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.53e-05/0.4063, allocations: 28 kB / 0.6531 GB, free: 4.602 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.598e-05/0.4064, allocations: 31.98 kB / 0.6531 GB, free: 4.57 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001131/0.4075, allocations: 0.5633 MB / 0.6537 GB, free: 4.008 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.00429/0.4118, allocations: 3.567 MB / 0.6572 GB, free: 220 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006168/0.4125, allocations: 260.9 kB / 0.6574 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003573/0.4128, allocations: 178.1 kB / 0.6576 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006326/0.4135, allocations: 0.6647 MB / 0.6582 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.238e-05/0.4135, allocations: 38.55 kB / 0.6583 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=31): time 1.734e-06/0.4135, allocations: 0 / 0.6583 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31): time 0.001232/0.4148, allocations: 0.5163 MB / 0.6588 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.123e-05/0.4148, allocations: 63.41 kB / 0.6588 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001178/0.416, allocations: 0.9532 MB / 0.6598 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.15e-05/0.416, allocations: 33.7 kB / 0.6598 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004227/0.4165, allocations: 499.6 kB / 0.6603 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001089/0.4166, allocations: 110.5 kB / 0.6604 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001625/0.4168, allocations: 114 kB / 0.6605 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001346/0.4169, allocations: 329.9 kB / 0.6608 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003681/0.4173, allocations: 173 kB / 0.661 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005088/0.4178, allocations: 346.9 kB / 0.6613 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008455/0.4186, allocations: 0.5031 MB / 0.6618 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/0.4187, allocations: 7.984 kB / 0.6618 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001173/0.4198, allocations: 0.6212 MB / 0.6624 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.4199, allocations: 8 kB / 0.6624 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.4199, allocations: 7.938 kB / 0.6624 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.24e-05/0.4199, allocations: 8 kB / 0.6624 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004342/0.4204, allocations: 123.8 kB / 0.6625 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.543e-05/0.4204, allocations: 11.98 kB / 0.6626 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005689/0.421, allocations: 91.34 kB / 0.6626 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.549e-05/0.421, allocations: 24 kB / 0.6627 GB, free: 10.2 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.0003879/0.4214, allocations: 273.6 kB / 0.6629 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001561/0.4216, allocations: 98.84 kB / 0.663 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009668/0.4225, allocations: 488 kB / 0.6635 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/0.4226, allocations: 7.984 kB / 0.6635 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.4226, allocations: 0 / 0.6635 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007257/0.4233, allocations: 457.8 kB / 0.6639 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002047/0.4254, allocations: 1.369 MB / 0.6653 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.752e-06/0.4254, allocations: 4 kB / 0.6653 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003223/0.4257, allocations: 76.05 kB / 0.6653 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.339e-06/0.4257, allocations: 0 / 0.6653 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.606e-05/0.4257, allocations: 11.98 kB / 0.6654 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.4258, allocations: 4 kB / 0.6654 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.4258, allocations: 4 kB / 0.6654 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001275/0.427, allocations: 0.7627 MB / 0.6661 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003021/0.4274, allocations: 223.7 kB / 0.6663 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.4275, allocations: 8.062 kB / 0.6663 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000483/0.428, allocations: 39.89 kB / 0.6664 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.048e-05/0.428, allocations: 23.97 kB / 0.6664 GB, free: 6.219 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.869e-05/0.4281, allocations: 19.98 kB / 0.6664 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008287/0.4289, allocations: 0.6588 MB / 0.6671 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4289, allocations: 0 / 0.6671 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009057/0.4298, allocations: 347.4 kB / 0.6674 GB, free: 5.191 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.0007428/0.4306, allocations: 396.2 kB / 0.6678 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009614/0.4316, allocations: 444.3 kB / 0.6682 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4316, allocations: 0 / 0.6682 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003741/0.4319, allocations: 187.8 kB / 0.6684 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002542/0.4345, allocations: 0.6057 MB / 0.669 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00249/0.437, allocations: 1.647 MB / 0.6706 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006477/0.4377, allocations: 1.032 MB / 0.6716 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001855/0.4379, allocations: 87.42 kB / 0.6717 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of SimCode: time 1.983e-06/0.4379, allocations: 0 / 0.6717 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of Templates: time 0.02551/0.4634, allocations: 18 MB / 0.6892 GB, free: 14.92 MB / 0.5294 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)