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.0009902/0.0009902, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.008736/0.008736, allocations: 172.4 kB / 16.26 MB, free: 6.613 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.411/1.411, allocations: 223.2 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9768/0.9768, allocations: 135.3 MB / 426.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004405/0.0004404, allocations: 8 kB / 0.5076 GB, free: 4.77 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1511, allocations: 82.31 MB / 0.588 GB, free: 2.625 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.3246/0.4758, allocations: 40.47 MB / 0.6275 GB, free: 30.33 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01209/0.4879, allocations: 10.32 MB / 0.6376 GB, free: 23.81 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00168/0.4897, allocations: 50.41 kB / 0.6376 GB, free: 23.79 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001476/0.4911, allocations: 0.5323 MB / 0.6381 GB, free: 23.47 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004015/0.4952, allocations: 1.734 MB / 0.6398 GB, free: 22.45 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002328/0.4975, allocations: 1.075 MB / 0.6409 GB, free: 21.84 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003887/0.5014, allocations: 4.505 MB / 0.6453 GB, free: 20.18 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001034/0.5025, allocations: 0.8601 MB / 0.6461 GB, free: 19.82 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001517/0.504, allocations: 1.017 MB / 0.6471 GB, free: 19.38 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008176/0.5048, allocations: 0.8595 MB / 0.648 GB, free: 19.01 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.682e-05/0.5049, allocations: 36.5 kB / 0.648 GB, free: 19.01 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001574/0.5065, allocations: 0.7707 MB / 0.6487 GB, free: 18.71 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001882/0.5067, allocations: 209.7 kB / 0.6489 GB, free: 18.61 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000456/0.5072, allocations: 0.5741 MB / 0.6495 GB, free: 18.26 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001729/0.5089, allocations: 1.835 MB / 0.6513 GB, free: 17.71 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.5089, allocations: 3.938 kB / 0.6513 GB, free: 17.71 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.094e-06/0.5089, allocations: 4 kB / 0.6513 GB, free: 17.71 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.794e-05/0.5089, allocations: 2.812 kB / 0.6513 GB, free: 17.71 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.002051/0.511, allocations: 1.31 MB / 0.6526 GB, free: 16.8 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.511, allocations: 9.125 kB / 0.6526 GB, free: 16.8 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003091/0.5114, allocations: 132 kB / 0.6527 GB, free: 16.74 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001409/0.5128, allocations: 1.074 MB / 0.6538 GB, free: 16.09 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.843e-05/0.5128, allocations: 55.75 kB / 0.6538 GB, free: 16.06 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.738e-05/0.5129, allocations: 74.97 kB / 0.6539 GB, free: 16.03 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001231/0.5142, allocations: 0.7979 MB / 0.6547 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/0.5142, allocations: 1.125 kB / 0.6547 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.474e-05/0.5143, allocations: 32.22 kB / 0.6547 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.388e-05/0.5143, allocations: 20.33 kB / 0.6547 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001152/0.5155, allocations: 0.5941 MB / 0.6553 GB, free: 15.44 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.003497/0.519, allocations: 3.557 MB / 0.6588 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006043/0.5196, allocations: 280 kB / 0.659 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003841/0.52, allocations: 192.1 kB / 0.6592 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003542/0.5203, allocations: 0.6553 MB / 0.6599 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/0.5204, allocations: 42.64 kB / 0.6599 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=31): time 1.803e-06/0.5204, allocations: 0 / 0.6599 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of matching and sorting (n=31): time 0.001235/0.5216, allocations: 0.5483 MB / 0.6604 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.546e-05/0.5217, allocations: 59.38 kB / 0.6605 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001213/0.5229, allocations: 0.9292 MB / 0.6614 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.858e-05/0.5229, allocations: 35.89 kB / 0.6614 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003181/0.5232, allocations: 499.9 kB / 0.6619 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.809e-05/0.5233, allocations: 116.9 kB / 0.662 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.376e-05/0.5234, allocations: 48.22 kB / 0.6621 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.895e-05/0.5235, allocations: 334.4 kB / 0.6624 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003847/0.5239, allocations: 170.4 kB / 0.6626 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004614/0.5243, allocations: 358.3 kB / 0.6629 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008035/0.5251, allocations: 0.5279 MB / 0.6634 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.5252, allocations: 2.219 kB / 0.6634 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001157/0.5263, allocations: 0.6428 MB / 0.664 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.5264, allocations: 7.578 kB / 0.6641 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/0.5264, allocations: 5.156 kB / 0.6641 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.5264, allocations: 8.938 kB / 0.6641 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004488/0.5269, allocations: 131.8 kB / 0.6642 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.535e-05/0.5269, allocations: 13.94 kB / 0.6642 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007329/0.5276, allocations: 122.6 kB / 0.6643 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.71e-05/0.5277, allocations: 25.91 kB / 0.6643 GB, free: 9.32 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.0003163/0.528, allocations: 276 kB / 0.6646 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/0.5281, allocations: 98.78 kB / 0.6647 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000976/0.5291, allocations: 0.5013 MB / 0.6652 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.829e-06/0.5291, allocations: 3.812 kB / 0.6652 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.5291, allocations: 1.703 kB / 0.6652 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007196/0.5299, allocations: 475.8 kB / 0.6657 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002037/0.5319, allocations: 1.381 MB / 0.667 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.5319, allocations: 5.766 kB / 0.667 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003365/0.5323, allocations: 82.67 kB / 0.6671 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.5323, allocations: 3.094 kB / 0.6671 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.575e-05/0.5323, allocations: 13.38 kB / 0.6671 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.5323, allocations: 3.375 kB / 0.6671 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.5323, allocations: 1.859 kB / 0.6671 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00123/0.5336, allocations: 0.7979 MB / 0.6679 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002898/0.5339, allocations: 249.1 kB / 0.6681 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/0.534, allocations: 8.484 kB / 0.6681 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006038/0.5346, allocations: 59.92 kB / 0.6682 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.09e-05/0.5347, allocations: 24.91 kB / 0.6682 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.899e-05/0.5347, allocations: 21.2 kB / 0.6682 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008013/0.5355, allocations: 0.6475 MB / 0.6689 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5355, allocations: 0 / 0.6689 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009464/0.5365, allocations: 332.9 kB / 0.6692 GB, free: 6.863 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.0006446/0.5371, allocations: 383.1 kB / 0.6695 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008783/0.538, allocations: 437 kB / 0.67 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.538, allocations: 0.875 kB / 0.67 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004066/0.5385, allocations: 196.8 kB / 0.6702 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003208/0.5417, allocations: 0.6045 MB / 0.6707 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00236/0.544, allocations: 2.001 MB / 0.6727 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000495/0.5446, allocations: 1.037 MB / 0.6737 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0007557/0.5453, allocations: 199 kB / 0.6739 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001561/0.5455, allocations: 82.09 kB / 0.674 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of SimCode: time 5.31e-07/0.5455, allocations: 0 / 0.674 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of Templates: time 0.0375/0.583, allocations: 20.21 MB / 0.6937 GB, free: 13.52 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)