Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 183.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7458/0.7458, allocations: 133.3 MB / 150.1 MB, free: 11.15 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 222.9 MB / 404.7 MB, free: 6.07 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001031/0.001031, allocations: 111.7 kB / 485.9 MB, free: 7.168 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009763/0.0009763, allocations: 59.91 kB / 0.5636 GB, free: 69.94 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1589, allocations: 80.43 MB / 0.6421 GB, free: 5.438 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger): time 0.4128/0.5718, allocations: 76.64 MB / 0.717 GB, free: 11.41 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.02274/0.5946, allocations: 18.93 MB / 0.7355 GB, free: 6.043 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004809/0.5995, allocations: 103.2 kB / 0.7356 GB, free: 6 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003516/0.603, allocations: 1.026 MB / 0.7366 GB, free: 5.406 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01097/0.614, allocations: 3.365 MB / 0.7399 GB, free: 3.414 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005786/0.6198, allocations: 1.904 MB / 0.7417 GB, free: 2.289 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.01168/0.6315, allocations: 8.921 MB / 0.7504 GB, free: 13.95 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003489/0.635, allocations: 1.736 MB / 0.7521 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005053/0.6401, allocations: 1.971 MB / 0.754 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003665/0.6438, allocations: 1.76 MB / 0.7558 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.0007398/0.6446, allocations: 105.9 kB / 0.7559 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004978/0.6496, allocations: 1.462 MB / 0.7573 GB, free: 9.984 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0009656/0.6506, allocations: 445.8 kB / 0.7577 GB, free: 9.664 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.002755/0.6533, allocations: 1.149 MB / 0.7588 GB, free: 8.949 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.007122/0.6605, allocations: 3.643 MB / 0.7624 GB, free: 6.312 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.6605, allocations: 0 / 0.7624 GB, free: 6.312 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.393e-06/0.6605, allocations: 0 / 0.7624 GB, free: 6.312 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001289/0.6607, allocations: 4 kB / 0.7624 GB, free: 6.309 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.006736/0.6674, allocations: 2.712 MB / 0.7651 GB, free: 3.531 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.6675, allocations: 8.031 kB / 0.7651 GB, free: 3.523 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001052/0.6685, allocations: 270 kB / 0.7653 GB, free: 3.258 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004242/0.6728, allocations: 1.98 MB / 0.7673 GB, free: 1.227 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.533e-05/0.6729, allocations: 106.7 kB / 0.7674 GB, free: 1.121 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002087/0.6731, allocations: 144 kB / 0.7675 GB, free: 0.9805 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003059/0.6762, allocations: 1.516 MB / 0.769 GB, free: 15.39 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.995e-05/0.6762, allocations: 4 kB / 0.769 GB, free: 15.38 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001297/0.6764, allocations: 63.98 kB / 0.769 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.349e-05/0.6764, allocations: 39.98 kB / 0.7691 GB, free: 15.28 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002588/0.679, allocations: 1.126 MB / 0.7702 GB, free: 14.15 MB / 0.5105 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.009575/0.6886, allocations: 7.563 MB / 0.7776 GB, free: 6 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009927/0.6897, allocations: 484.6 kB / 0.778 GB, free: 5.52 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006291/0.6903, allocations: 338.9 kB / 0.7783 GB, free: 5.188 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008888/0.6912, allocations: 1.152 MB / 0.7795 GB, free: 3.777 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.6912, allocations: 43.12 kB / 0.7795 GB, free: 3.727 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=59): time 2.615e-06/0.6912, allocations: 0 / 0.7795 GB, free: 3.727 MB / 0.5105 GB Notification: Performance of matching and sorting (n=59): time 0.002337/0.6936, allocations: 0.9612 MB / 0.7805 GB, free: 2.758 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.517e-05/0.6937, allocations: 59.97 kB / 0.7805 GB, free: 2.684 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002313/0.696, allocations: 1.752 MB / 0.7822 GB, free: 0.8945 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001037/0.6961, allocations: 41.7 kB / 0.7823 GB, free: 0.8477 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007258/0.6968, allocations: 0.9395 MB / 0.7832 GB, free: 15.9 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002188/0.6971, allocations: 224.8 kB / 0.7834 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003249/0.6974, allocations: 226.6 kB / 0.7836 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001552/0.6976, allocations: 353.9 kB / 0.7839 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007465/0.6983, allocations: 326.4 kB / 0.7843 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001119/0.6994, allocations: 0.6899 MB / 0.7849 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001739/0.7012, allocations: 1.014 MB / 0.7859 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/0.7012, allocations: 4 kB / 0.7859 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002895/0.7041, allocations: 1.21 MB / 0.7871 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.009e-05/0.7042, allocations: 12 kB / 0.7871 GB, free: 11.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.785e-05/0.7042, allocations: 8 kB / 0.7871 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.458e-05/0.7042, allocations: 16 kB / 0.7871 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001041/0.7053, allocations: 296.2 kB / 0.7874 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.364e-05/0.7053, allocations: 19.94 kB / 0.7874 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001717/0.707, allocations: 236.5 kB / 0.7877 GB, free: 11 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.244e-05/0.7071, allocations: 55.98 kB / 0.7877 GB, free: 10.94 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (135): * Single equations (assignments): 135 * 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.0007585/0.7079, allocations: 434.7 kB / 0.7881 GB, free: 10.51 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002987/0.7082, allocations: 197.6 kB / 0.7883 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001712/0.7099, allocations: 0.8687 MB / 0.7892 GB, free: 9.438 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-05/0.7099, allocations: 8 kB / 0.7892 GB, free: 9.43 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.882e-06/0.71, allocations: 0 / 0.7892 GB, free: 9.43 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001364/0.7113, allocations: 0.7956 MB / 0.79 GB, free: 8.586 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004112/0.7155, allocations: 2.435 MB / 0.7923 GB, free: 6.059 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/0.7155, allocations: 7.984 kB / 0.7923 GB, free: 6.051 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007662/0.7162, allocations: 168 kB / 0.7925 GB, free: 5.887 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.11e-05/0.7163, allocations: 12 kB / 0.7925 GB, free: 5.875 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.472e-05/0.7163, allocations: 19.92 kB / 0.7925 GB, free: 5.855 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.913e-06/0.7163, allocations: 4 kB / 0.7925 GB, free: 5.852 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.7163, allocations: 7.984 kB / 0.7925 GB, free: 5.844 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01039/0.7267, allocations: 6.165 MB / 0.7986 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006076/0.7274, allocations: 362.4 kB / 0.7989 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001803/0.7276, allocations: 19.98 kB / 0.7989 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001073/0.7287, allocations: 111.7 kB / 0.799 GB, free: 15 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/0.7288, allocations: 48.44 kB / 0.7991 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.99e-05/0.7289, allocations: 39.97 kB / 0.7991 GB, free: 14.91 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001637/0.7305, allocations: 1.22 MB / 0.8003 GB, free: 13.67 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.41e-07/0.7305, allocations: 4 kB / 0.8003 GB, free: 13.67 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002472/0.733, allocations: 0.8896 MB / 0.8012 GB, free: 12.78 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (eigPor.vol1.dynBal.U,eigPor.vol2.dynBal.U,eigPor.vol3.dynBal.U,eigPor.vol4.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 (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.001164/0.7342, allocations: 0.5901 MB / 0.8018 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001739/0.7359, allocations: 0.8125 MB / 0.8026 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.7359, allocations: 4 kB / 0.8026 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.000707/0.7367, allocations: 350.9 kB / 0.8029 GB, free: 11.03 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005798/0.7425, allocations: 1.195 MB / 0.8041 GB, free: 9.852 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005226/0.7477, allocations: 4.168 MB / 0.8081 GB, free: 5.613 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009613/0.7487, allocations: 1.421 MB / 0.8095 GB, free: 4.156 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001652/0.7504, allocations: 390.6 kB / 0.8099 GB, free: 3.773 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003496/0.7507, allocations: 151.3 kB / 0.81 GB, free: 3.625 MB / 0.5417 GB Notification: Performance of SimCode: time 4.21e-07/0.7507, allocations: 4 kB / 0.81 GB, free: 3.621 MB / 0.5417 GB Notification: Performance of Templates: time 0.06998/0.8207, allocations: 41.54 MB / 0.8506 GB, free: 10.5 MB / 0.5886 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)