Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.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.ConstantEffectivenessZeroFlowBothStreams,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams") translateModel(IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008349/0.0008349, allocations: 100.1 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.0008996/0.0008997, allocations: 177.3 kB / 15.95 MB, free: 216 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.19/1.19, allocations: 223.2 MB / 239.9 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8476/0.8476, allocations: 135.2 MB / 426.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003246/0.0003246, allocations: 8 kB / 0.5068 GB, free: 5.219 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1527, allocations: 82.31 MB / 0.5872 GB, free: 3.094 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams): time 0.3885/0.5413, allocations: 176.6 MB / 0.7597 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00949/0.5508, allocations: 6.968 MB / 0.7665 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000865/0.5517, allocations: 31.75 kB / 0.7665 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001823/0.5536, allocations: 0.7233 MB / 0.7672 GB, free: 4.113 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005084/0.5587, allocations: 2.17 MB / 0.7693 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002948/0.5616, allocations: 1.138 MB / 0.7705 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002526/0.5642, allocations: 1.627 MB / 0.772 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001063/0.5652, allocations: 0.8348 MB / 0.7729 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002352/0.5676, allocations: 1.312 MB / 0.7741 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007828/0.5684, allocations: 0.6186 MB / 0.7747 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.809e-05/0.5685, allocations: 44 kB / 0.7748 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002388/0.5709, allocations: 1.326 MB / 0.7761 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002742/0.5712, allocations: 311 kB / 0.7764 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002325/0.5714, allocations: 273 kB / 0.7766 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001555/0.573, allocations: 1.602 MB / 0.7782 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.573, allocations: 11.88 kB / 0.7782 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.162e-06/0.573, allocations: 0 / 0.7782 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.289e-05/0.573, allocations: 0 / 0.7782 GB, free: 8.859 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.003503/0.5765, allocations: 1.581 MB / 0.7798 GB, free: 7.223 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.887e-05/0.5766, allocations: 8.031 kB / 0.7798 GB, free: 7.215 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002823/0.5794, allocations: 0.5887 MB / 0.7803 GB, free: 6.625 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001526/0.5809, allocations: 0.9219 MB / 0.7812 GB, free: 5.66 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005964/0.5815, allocations: 205.8 kB / 0.7814 GB, free: 5.457 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001267/0.5817, allocations: 80 kB / 0.7815 GB, free: 5.379 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002375/0.584, allocations: 1.256 MB / 0.7827 GB, free: 4.113 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.5841, allocations: 3.938 kB / 0.7827 GB, free: 4.109 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.278e-05/0.5842, allocations: 36 kB / 0.7828 GB, free: 4.074 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-05/0.5842, allocations: 45.98 kB / 0.7828 GB, free: 4.031 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003402/0.5876, allocations: 1.616 MB / 0.7844 GB, free: 2.414 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.005505/0.5932, allocations: 4.083 MB / 0.7884 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002338/0.5955, allocations: 1.073 MB / 0.7894 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006558/0.5962, allocations: 290.9 kB / 0.7897 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.5962, allocations: 47.2 kB / 0.7898 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=76): time 1.893e-06/0.5962, allocations: 0 / 0.7898 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76): time 0.004438/0.6007, allocations: 1.906 MB / 0.7916 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.119e-05/0.6007, allocations: 64 kB / 0.7917 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008501/0.6016, allocations: 0.8153 MB / 0.7925 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.742e-05/0.6017, allocations: 37.7 kB / 0.7925 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002829/0.6019, allocations: 444.6 kB / 0.7929 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001728/0.6021, allocations: 260.2 kB / 0.7932 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.243e-05/0.6022, allocations: 16 kB / 0.7932 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.6023, allocations: 334 kB / 0.7935 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001324/0.6036, allocations: 0.5641 MB / 0.7941 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001412/0.605, allocations: 0.688 MB / 0.7947 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001367/0.6064, allocations: 0.6294 MB / 0.7954 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.6064, allocations: 3.938 kB / 0.7954 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003043/0.6095, allocations: 1.427 MB / 0.7968 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002055/0.6097, allocations: 0.5531 MB / 0.7973 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.6097, allocations: 7.984 kB / 0.7973 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.6097, allocations: 4 kB / 0.7973 GB, free: 4.715 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001474/0.6112, allocations: 288.2 kB / 0.7976 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006243/0.6118, allocations: 1.191 MB / 0.7987 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/0.613, allocations: 192.5 kB / 0.7989 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.949e-05/0.6131, allocations: 43.91 kB / 0.799 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.556e-06/0.6131, allocations: 4 kB / 0.799 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002909/0.616, allocations: 1.325 MB / 0.8003 GB, free: 1.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.616, allocations: 3.938 kB / 0.8003 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.532e-06/0.616, allocations: 4 kB / 0.8003 GB, free: 1.621 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/0.6171, allocations: 251.8 kB / 0.8005 GB, free: 1.375 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.6171, allocations: 7.984 kB / 0.8005 GB, free: 1.367 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/0.6182, allocations: 191.1 kB / 0.8007 GB, free: 1.18 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.563e-05/0.6183, allocations: 36.73 kB / 0.8007 GB, free: 1.145 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.000586/0.6189, allocations: 376.9 kB / 0.8011 GB, free: 0.7656 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001679/0.6191, allocations: 106.8 kB / 0.8012 GB, free: 0.6602 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003277/0.6224, allocations: 1.429 MB / 0.8026 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.6224, allocations: 8 kB / 0.8026 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.6224, allocations: 0 / 0.8026 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.6224, allocations: 4.078 kB / 0.8026 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005157/0.6276, allocations: 2.993 MB / 0.8055 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/0.6276, allocations: 7.984 kB / 0.8055 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001145/0.6287, allocations: 252.1 kB / 0.8058 GB, free: 11.85 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.143e-05/0.6288, allocations: 8 kB / 0.8058 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.078e-05/0.6288, allocations: 31.97 kB / 0.8058 GB, free: 11.81 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005531/0.6294, allocations: 1.188 MB / 0.807 GB, free: 10.58 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.197e-06/0.6294, allocations: 4 kB / 0.807 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003102/0.6325, allocations: 1.753 MB / 0.8087 GB, free: 8.652 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000482/0.633, allocations: 307.5 kB / 0.809 GB, free: 8.332 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001301/0.6331, allocations: 23.94 kB / 0.809 GB, free: 8.309 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00111/0.6343, allocations: 163.8 kB / 0.8092 GB, free: 8.148 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001171/0.6344, allocations: 60.44 kB / 0.8092 GB, free: 8.09 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.788e-05/0.6345, allocations: 39.97 kB / 0.8093 GB, free: 8.051 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006391/0.6351, allocations: 0.5583 MB / 0.8098 GB, free: 7.48 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.41e-07/0.6351, allocations: 7.938 kB / 0.8098 GB, free: 7.473 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001264/0.6364, allocations: 0.5302 MB / 0.8103 GB, free: 6.941 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.0005019/0.6369, allocations: 266.6 kB / 0.8106 GB, free: 6.695 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00476/0.6417, allocations: 2.147 MB / 0.8127 GB, free: 4.523 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.6417, allocations: 3.938 kB / 0.8127 GB, free: 4.52 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001548/0.6432, allocations: 0.7068 MB / 0.8134 GB, free: 3.812 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002092/0.6453, allocations: 0.4995 MB / 0.8139 GB, free: 3.32 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003794/0.6491, allocations: 2.499 MB / 0.8163 GB, free: 0.7461 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005738/0.6497, allocations: 1.114 MB / 0.8174 GB, free: 15.6 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001359/0.6511, allocations: 395.5 kB / 0.8178 GB, free: 15.21 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002742/0.6514, allocations: 83.41 kB / 0.8179 GB, free: 15.13 MB / 0.6387 GB Notification: Performance of SimCode: time 4.21e-07/0.6514, allocations: 0 / 0.8179 GB, free: 15.13 MB / 0.6387 GB Notification: Performance of Templates: time 0.0264/0.6778, allocations: 19.42 MB / 0.8368 GB, free: 12 MB / 0.6544 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.makefile Environment - environmentSimulation: (rm -f IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.sim & ./IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlowBothStreams.pipe 2>&1) Environment - environmentSimulation: