Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.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/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/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.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams") translateModel(IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 182.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/package.mo): time 0.6973/0.6973, allocations: 132.2 MB / 148.9 MB, free: 12.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.369/1.369, allocations: 222.9 MB / 403.4 MB, free: 7.094 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.0009748/0.0009748, allocations: 121.1 kB / 484.4 MB, free: 8.711 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001023/0.001024, allocations: 55.92 kB / 0.5618 GB, free: 71.05 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1508/0.1519, allocations: 80.21 MB / 0.6402 GB, free: 6.77 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams): time 0.5514/0.7034, allocations: 212 MB / 0.8472 GB, free: 15 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.01063/0.714, allocations: 7.126 MB / 0.8542 GB, free: 7.852 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00176/0.7159, allocations: 39.75 kB / 0.8542 GB, free: 7.812 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.002096/0.718, allocations: 0.6606 MB / 0.8549 GB, free: 7.148 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.006324/0.7243, allocations: 2.355 MB / 0.8572 GB, free: 4.785 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.002848/0.7272, allocations: 1.057 MB / 0.8582 GB, free: 3.742 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.005125/0.7323, allocations: 3.759 MB / 0.8619 GB, free: 15.98 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001431/0.7338, allocations: 0.9277 MB / 0.8628 GB, free: 15.03 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003769/0.7376, allocations: 1.81 MB / 0.8646 GB, free: 13.21 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002078/0.7397, allocations: 0.9397 MB / 0.8655 GB, free: 12.27 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001539/0.7398, allocations: 60 kB / 0.8655 GB, free: 12.21 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00462/0.7445, allocations: 2.814 MB / 0.8683 GB, free: 9.395 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.000439/0.7449, allocations: 370.6 kB / 0.8686 GB, free: 9.031 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0007683/0.7457, allocations: 0.6257 MB / 0.8692 GB, free: 8.402 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.003611/0.7493, allocations: 2.563 MB / 0.8717 GB, free: 5.832 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.291e-06/0.7494, allocations: 0 / 0.8717 GB, free: 5.832 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.242e-06/0.7494, allocations: 0 / 0.8717 GB, free: 5.832 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.647e-05/0.7494, allocations: 0 / 0.8717 GB, free: 5.832 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.004288/0.7537, allocations: 1.848 MB / 0.8735 GB, free: 3.922 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.7537, allocations: 8.031 kB / 0.8736 GB, free: 3.914 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003055/0.7568, allocations: 0.5369 MB / 0.8741 GB, free: 3.375 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001753/0.7586, allocations: 0.968 MB / 0.875 GB, free: 2.363 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006331/0.7592, allocations: 173.9 kB / 0.8752 GB, free: 2.195 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001414/0.7594, allocations: 88 kB / 0.8753 GB, free: 2.109 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002639/0.762, allocations: 1.233 MB / 0.8765 GB, free: 0.8672 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.754e-05/0.762, allocations: 4 kB / 0.8765 GB, free: 0.8633 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.687e-05/0.7621, allocations: 31.98 kB / 0.8765 GB, free: 0.832 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.175e-05/0.7622, allocations: 49.98 kB / 0.8766 GB, free: 0.7812 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003739/0.766, allocations: 1.55 MB / 0.8781 GB, free: 15.23 MB / 0.6198 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.006369/0.7723, allocations: 4.045 MB / 0.882 GB, free: 10.91 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002516/0.7749, allocations: 1.002 MB / 0.883 GB, free: 9.898 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001544/0.7764, allocations: 0.6637 MB / 0.8836 GB, free: 9.234 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001024/0.7775, allocations: 0.6048 MB / 0.8842 GB, free: 8.52 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.7775, allocations: 43.22 kB / 0.8843 GB, free: 8.469 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=76): time 2.865e-06/0.7775, allocations: 0 / 0.8843 GB, free: 8.469 MB / 0.6198 GB Notification: Performance of matching and sorting (n=76): time 0.004937/0.7825, allocations: 1.812 MB / 0.8861 GB, free: 6.648 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.794e-05/0.7825, allocations: 64.06 kB / 0.8861 GB, free: 6.574 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009679/0.7835, allocations: 0.8232 MB / 0.8869 GB, free: 5.727 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.45e-05/0.7836, allocations: 45.64 kB / 0.887 GB, free: 5.676 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002876/0.7839, allocations: 440.5 kB / 0.8874 GB, free: 5.238 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002187/0.7841, allocations: 260.2 kB / 0.8876 GB, free: 4.98 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002836/0.7844, allocations: 158.5 kB / 0.8878 GB, free: 4.82 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001161/0.7845, allocations: 337.9 kB / 0.8881 GB, free: 4.484 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00142/0.786, allocations: 0.5473 MB / 0.8886 GB, free: 3.934 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001496/0.7875, allocations: 0.6559 MB / 0.8893 GB, free: 3.242 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002808/0.7903, allocations: 1.147 MB / 0.8904 GB, free: 2.074 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.634e-06/0.7903, allocations: 4 kB / 0.8904 GB, free: 2.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00329/0.7936, allocations: 1.364 MB / 0.8917 GB, free: 0.6914 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.875e-05/0.7936, allocations: 37.7 kB / 0.8918 GB, free: 0.6484 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.7937, allocations: 4 kB / 0.8918 GB, free: 0.6445 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.7937, allocations: 4 kB / 0.8918 GB, free: 0.6406 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001508/0.7952, allocations: 259.7 kB / 0.892 GB, free: 396 kB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005864/0.7958, allocations: 1.192 MB / 0.8932 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001212/0.797, allocations: 179.3 kB / 0.8934 GB, free: 14.97 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.441e-05/0.7971, allocations: 27.98 kB / 0.8934 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001712/0.7988, allocations: 0.7712 MB / 0.8941 GB, free: 14.17 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001499/0.8003, allocations: 0.6637 MB / 0.8948 GB, free: 13.47 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002759/0.8031, allocations: 1.135 MB / 0.8959 GB, free: 12.31 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.823e-06/0.8031, allocations: 0 / 0.8959 GB, free: 12.31 MB / 0.6355 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.003231/0.8064, allocations: 1.353 MB / 0.8972 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.004e-05/0.8064, allocations: 37.64 kB / 0.8973 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.8064, allocations: 4 kB / 0.8973 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.58e-06/0.8064, allocations: 4 kB / 0.8973 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001163/0.8076, allocations: 239.7 kB / 0.8975 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.8076, allocations: 4 kB / 0.8975 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001106/0.8087, allocations: 171.3 kB / 0.8977 GB, free: 10.49 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.136e-05/0.8088, allocations: 39.97 kB / 0.8977 GB, free: 10.45 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (hex.i2_w,hex.i1_w) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002272/0.8091, allocations: 217.5 kB / 0.8979 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001708/0.8092, allocations: 110.7 kB / 0.898 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003425/0.8127, allocations: 1.359 MB / 0.8993 GB, free: 8.754 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/0.8127, allocations: 11.94 kB / 0.8993 GB, free: 8.742 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.8127, allocations: 0 / 0.8993 GB, free: 8.742 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.8127, allocations: 3.984 kB / 0.8993 GB, free: 8.738 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00526/0.818, allocations: 2.855 MB / 0.9021 GB, free: 5.785 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.818, allocations: 4 kB / 0.9021 GB, free: 5.781 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001187/0.8192, allocations: 247.6 kB / 0.9024 GB, free: 5.539 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.167e-06/0.8192, allocations: 8 kB / 0.9024 GB, free: 5.531 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.376e-05/0.8193, allocations: 19.98 kB / 0.9024 GB, free: 5.512 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005279/0.8198, allocations: 1.199 MB / 0.9036 GB, free: 4.266 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/0.8198, allocations: 4 kB / 0.9036 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005204/0.825, allocations: 2.916 MB / 0.9064 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005274/0.8256, allocations: 307.5 kB / 0.9067 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001443/0.8257, allocations: 16 kB / 0.9067 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001198/0.8269, allocations: 143.8 kB / 0.9069 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001473/0.8271, allocations: 68.39 kB / 0.9069 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.333e-05/0.8272, allocations: 35.95 kB / 0.907 GB, free: 0.6602 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0006712/0.8279, allocations: 0.5778 MB / 0.9075 GB, free: 72 kB / 0.6355 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8279, allocations: 0 / 0.9075 GB, free: 72 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001566/0.8294, allocations: 0.538 MB / 0.9081 GB, free: 15.53 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 simulation (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005792/0.83, allocations: 274.4 kB / 0.9083 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.005339/0.8354, allocations: 2.045 MB / 0.9103 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.8354, allocations: 0 / 0.9103 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001725/0.8371, allocations: 0.6676 MB / 0.911 GB, free: 12.53 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002616/0.8398, allocations: 0.5123 MB / 0.9115 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004696/0.8445, allocations: 2.925 MB / 0.9143 GB, free: 9.012 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006289/0.8451, allocations: 1.114 MB / 0.9154 GB, free: 7.871 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001626/0.8468, allocations: 391.5 kB / 0.9158 GB, free: 7.484 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003424/0.8471, allocations: 87.41 kB / 0.9159 GB, free: 7.398 MB / 0.6511 GB Notification: Performance of SimCode: time 7.32e-07/0.8471, allocations: 0 / 0.9159 GB, free: 7.398 MB / 0.6511 GB Notification: Performance of Templates: time 0.03234/0.8795, allocations: 20.64 MB / 0.936 GB, free: 2.996 MB / 0.6667 GB make -j1 -f IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.makefile (rm -f IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; mkfifo IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe >> ../files/IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.sim & ./IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe 2>&1)