Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.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.MassExchangers.Validation.ConstantEffectivenessZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow") translateModel(IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008307/0.0008307, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0008752/0.0008752, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.176/1.176, allocations: 223.2 MB / 239.9 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8281/0.8281, allocations: 135.2 MB / 426.2 MB, free: 14.46 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002657/0.0002657, allocations: 8 kB / 0.5068 GB, free: 5.301 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1478, allocations: 82.31 MB / 0.5872 GB, free: 3.176 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow): time 0.4179/0.5657, allocations: 176.6 MB / 0.7597 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01047/0.5762, allocations: 6.971 MB / 0.7665 GB, free: 5 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00128/0.5776, allocations: 35.75 kB / 0.7665 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001998/0.5796, allocations: 0.7194 MB / 0.7672 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005421/0.585, allocations: 2.166 MB / 0.7693 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002889/0.5879, allocations: 1.136 MB / 0.7704 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002508/0.5904, allocations: 1.63 MB / 0.772 GB, free: 15.33 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001124/0.5916, allocations: 0.8318 MB / 0.7728 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002607/0.5942, allocations: 1.312 MB / 0.7741 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008026/0.595, allocations: 0.6225 MB / 0.7747 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001069/0.5951, allocations: 51.94 kB / 0.7748 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00253/0.5976, allocations: 1.322 MB / 0.7761 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002977/0.598, allocations: 318.9 kB / 0.7764 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002533/0.5982, allocations: 273.1 kB / 0.7766 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001653/0.5999, allocations: 1.599 MB / 0.7782 GB, free: 8.984 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.5999, allocations: 0 / 0.7782 GB, free: 8.984 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.263e-06/0.5999, allocations: 0 / 0.7782 GB, free: 8.984 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.005e-05/0.5999, allocations: 0 / 0.7782 GB, free: 8.984 MB / 0.5919 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.003603/0.6035, allocations: 1.581 MB / 0.7797 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.6036, allocations: 8.031 kB / 0.7798 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002863/0.6064, allocations: 0.5955 MB / 0.7803 GB, free: 6.742 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001627/0.6081, allocations: 0.918 MB / 0.7812 GB, free: 5.781 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006069/0.6087, allocations: 197.9 kB / 0.7814 GB, free: 5.586 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001269/0.6088, allocations: 88 kB / 0.7815 GB, free: 5.5 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002477/0.6113, allocations: 1.253 MB / 0.7827 GB, free: 4.238 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.6113, allocations: 5.25 kB / 0.7827 GB, free: 4.234 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.369e-05/0.6114, allocations: 28 kB / 0.7828 GB, free: 4.207 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.133e-05/0.6115, allocations: 49.92 kB / 0.7828 GB, free: 4.16 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00347/0.615, allocations: 1.612 MB / 0.7844 GB, free: 2.547 MB / 0.5919 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.005822/0.6208, allocations: 4.092 MB / 0.7884 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002502/0.6233, allocations: 1.072 MB / 0.7894 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007096/0.624, allocations: 294.9 kB / 0.7897 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.99e-05/0.6241, allocations: 43.22 kB / 0.7897 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=76): time 2.816e-06/0.6241, allocations: 0 / 0.7897 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76): time 0.004587/0.6287, allocations: 1.91 MB / 0.7916 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.42e-05/0.6287, allocations: 64.06 kB / 0.7917 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008725/0.6296, allocations: 0.8153 MB / 0.7925 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.918e-05/0.6297, allocations: 45.7 kB / 0.7925 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002932/0.63, allocations: 428.6 kB / 0.7929 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001825/0.6302, allocations: 264.2 kB / 0.7932 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.17e-05/0.6303, allocations: 15.94 kB / 0.7932 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.6304, allocations: 334 kB / 0.7935 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001337/0.6317, allocations: 0.5602 MB / 0.7941 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00143/0.6332, allocations: 0.7036 MB / 0.7947 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001377/0.6345, allocations: 0.6216 MB / 0.7953 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.6346, allocations: 0 / 0.7953 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003064/0.6376, allocations: 1.427 MB / 0.7967 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002263/0.6379, allocations: 0.5648 MB / 0.7973 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.6379, allocations: 0 / 0.7973 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.6379, allocations: 4 kB / 0.7973 GB, free: 4.836 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001458/0.6394, allocations: 282.8 kB / 0.7976 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006296/0.64, allocations: 1.203 MB / 0.7987 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001142/0.6412, allocations: 191.4 kB / 0.7989 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.272e-05/0.6413, allocations: 31.98 kB / 0.799 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.428e-06/0.6413, allocations: 9.812 kB / 0.799 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002968/0.6442, allocations: 1.321 MB / 0.8003 GB, free: 1.758 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.6443, allocations: 0 / 0.8003 GB, free: 1.758 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.348e-06/0.6443, allocations: 8 kB / 0.8003 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001125/0.6454, allocations: 248.6 kB / 0.8005 GB, free: 1.508 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.6454, allocations: 4 kB / 0.8005 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001112/0.6465, allocations: 197.6 kB / 0.8007 GB, free: 1.312 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.496e-05/0.6466, allocations: 43.97 kB / 0.8007 GB, free: 1.27 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 (hex.i1_w,hex.i2_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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000529/0.6472, allocations: 369.4 kB / 0.8011 GB, free: 0.8984 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001531/0.6473, allocations: 106.7 kB / 0.8012 GB, free: 0.793 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003261/0.6506, allocations: 1.426 MB / 0.8026 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.6506, allocations: 8 kB / 0.8026 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.6506, allocations: 0 / 0.8026 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.6506, allocations: 7.984 kB / 0.8026 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005232/0.6559, allocations: 2.989 MB / 0.8055 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/0.6559, allocations: 4 kB / 0.8055 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001176/0.6571, allocations: 256.2 kB / 0.8058 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-05/0.6571, allocations: 12 kB / 0.8058 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-05/0.6572, allocations: 27.92 kB / 0.8058 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005424/0.6577, allocations: 1.192 MB / 0.807 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/0.6577, allocations: 11.88 kB / 0.807 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003207/0.661, allocations: 1.745 MB / 0.8087 GB, free: 8.789 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005463/0.6615, allocations: 316.2 kB / 0.809 GB, free: 8.461 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000133/0.6617, allocations: 16 kB / 0.809 GB, free: 8.445 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001151/0.6628, allocations: 163.8 kB / 0.8092 GB, free: 8.285 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/0.663, allocations: 68.47 kB / 0.8092 GB, free: 8.219 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.405e-05/0.663, allocations: 39.95 kB / 0.8093 GB, free: 8.18 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006846/0.6637, allocations: 0.5583 MB / 0.8098 GB, free: 7.609 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6637, allocations: 0 / 0.8098 GB, free: 7.609 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001243/0.665, allocations: 0.5341 MB / 0.8103 GB, free: 7.074 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005169/0.6655, allocations: 273.2 kB / 0.8106 GB, free: 6.824 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.004912/0.6704, allocations: 2.135 MB / 0.8127 GB, free: 4.664 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.6704, allocations: 4 kB / 0.8127 GB, free: 4.66 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001617/0.6721, allocations: 0.7107 MB / 0.8134 GB, free: 3.949 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002229/0.6743, allocations: 0.502 MB / 0.8139 GB, free: 3.457 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004099/0.6784, allocations: 2.491 MB / 0.8163 GB, free: 0.8867 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007097/0.6791, allocations: 1.118 MB / 0.8174 GB, free: 15.74 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001552/0.6807, allocations: 399.4 kB / 0.8178 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002904/0.681, allocations: 87.39 kB / 0.8178 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of SimCode: time 6.51e-07/0.681, allocations: 0 / 0.8178 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of Templates: time 0.02835/0.7094, allocations: 19.4 MB / 0.8368 GB, free: 12.14 MB / 0.6544 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.makefile Environment - environmentSimulation: (rm -f IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.sim & ./IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe 2>&1) Environment - environmentSimulation: