Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.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.ConstantEffectivenessZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow") translateModel(IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001795/0.001795, 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/package.mo): time 0.8483/0.8483, allocations: 132.2 MB / 148.9 MB, free: 12.16 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.366/1.366, allocations: 222.9 MB / 403.3 MB, free: 7.098 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.001011/0.001011, allocations: 106 kB / 484.3 MB, free: 8.723 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009969/0.0009968, allocations: 55.91 kB / 0.5618 GB, free: 71.07 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1324, allocations: 80.21 MB / 0.6402 GB, free: 6.789 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow): time 0.477/0.6094, allocations: 212 MB / 0.8472 GB, free: 15.03 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.009818/0.6192, allocations: 7.141 MB / 0.8542 GB, free: 7.867 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001314/0.6206, allocations: 39.75 kB / 0.8542 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.001683/0.6223, allocations: 0.6566 MB / 0.8549 GB, free: 7.168 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.005125/0.6274, allocations: 2.352 MB / 0.8572 GB, free: 4.809 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.002413/0.6299, allocations: 1.054 MB / 0.8582 GB, free: 3.77 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.003704/0.6336, allocations: 3.761 MB / 0.8619 GB, free: 0 / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001212/0.6348, allocations: 0.9239 MB / 0.8628 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003428/0.6382, allocations: 1.813 MB / 0.8645 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00186/0.6401, allocations: 0.9495 MB / 0.8655 GB, free: 12.29 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001398/0.6403, allocations: 60 kB / 0.8655 GB, free: 12.23 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004279/0.6446, allocations: 2.813 MB / 0.8683 GB, free: 9.406 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.000357/0.6449, allocations: 366.7 kB / 0.8686 GB, free: 9.047 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0007038/0.6456, allocations: 0.6256 MB / 0.8692 GB, free: 8.418 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.003306/0.649, allocations: 2.563 MB / 0.8717 GB, free: 5.848 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.649, allocations: 0 / 0.8717 GB, free: 5.848 MB / 0.6042 GB Notification: Performance of FrontEnd: time 8.02e-07/0.649, allocations: 0 / 0.8717 GB, free: 5.848 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.193e-05/0.649, allocations: 4 kB / 0.8717 GB, free: 5.844 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.004046/0.653, allocations: 1.848 MB / 0.8736 GB, free: 3.934 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 2.942e-05/0.6531, allocations: 12.03 kB / 0.8736 GB, free: 3.922 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003002/0.6561, allocations: 0.533 MB / 0.8741 GB, free: 3.387 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001732/0.6578, allocations: 0.9563 MB / 0.875 GB, free: 2.387 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006423/0.6585, allocations: 181.9 kB / 0.8752 GB, free: 2.211 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001401/0.6586, allocations: 91.98 kB / 0.8753 GB, free: 2.121 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002664/0.6613, allocations: 1.221 MB / 0.8765 GB, free: 0.8906 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/0.6613, allocations: 7.938 kB / 0.8765 GB, free: 0.8828 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.622e-05/0.6614, allocations: 35.92 kB / 0.8765 GB, free: 0.8477 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.063e-05/0.6615, allocations: 45.98 kB / 0.8766 GB, free: 0.8008 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00372/0.6652, allocations: 1.55 MB / 0.8781 GB, free: 15.25 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.005914/0.6712, allocations: 4.045 MB / 0.882 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002623/0.6738, allocations: 0.9981 MB / 0.883 GB, free: 9.918 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001545/0.6754, allocations: 0.6559 MB / 0.8836 GB, free: 9.262 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00103/0.6764, allocations: 0.6087 MB / 0.8842 GB, free: 8.543 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.721e-05/0.6764, allocations: 47.22 kB / 0.8843 GB, free: 8.488 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=76): time 3.055e-06/0.6765, allocations: 0 / 0.8843 GB, free: 8.488 MB / 0.6198 GB Notification: Performance of matching and sorting (n=76): time 0.004923/0.6814, allocations: 1.816 MB / 0.886 GB, free: 6.664 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.116e-05/0.6814, allocations: 60.06 kB / 0.8861 GB, free: 6.594 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009239/0.6824, allocations: 0.8193 MB / 0.8869 GB, free: 5.75 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.295e-05/0.6824, allocations: 41.7 kB / 0.8869 GB, free: 5.703 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003068/0.6828, allocations: 440.5 kB / 0.8874 GB, free: 5.266 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001957/0.683, allocations: 264.2 kB / 0.8876 GB, free: 5.004 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002904/0.6833, allocations: 158.5 kB / 0.8878 GB, free: 4.844 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.6834, allocations: 337.9 kB / 0.8881 GB, free: 4.508 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001464/0.6848, allocations: 0.5395 MB / 0.8886 GB, free: 3.965 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001579/0.6864, allocations: 0.6675 MB / 0.8893 GB, free: 3.262 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002866/0.6893, allocations: 1.151 MB / 0.8904 GB, free: 2.09 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.6893, allocations: 0 / 0.8904 GB, free: 2.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003333/0.6927, allocations: 1.36 MB / 0.8917 GB, free: 0.7148 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.999e-05/0.6927, allocations: 37.64 kB / 0.8918 GB, free: 0.6719 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.6927, allocations: 3.938 kB / 0.8918 GB, free: 0.668 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.6928, allocations: 8 kB / 0.8918 GB, free: 0.6602 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001524/0.6943, allocations: 263.7 kB / 0.892 GB, free: 412 kB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005985/0.6949, allocations: 1.192 MB / 0.8932 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001142/0.696, allocations: 175.3 kB / 0.8934 GB, free: 14.99 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.499e-05/0.6961, allocations: 31.98 kB / 0.8934 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001775/0.6979, allocations: 0.7655 MB / 0.8941 GB, free: 14.19 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001513/0.6995, allocations: 0.6676 MB / 0.8948 GB, free: 13.49 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002894/0.7024, allocations: 1.135 MB / 0.8959 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.695e-06/0.7024, allocations: 0 / 0.8959 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.003433/0.7058, allocations: 1.356 MB / 0.8972 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.088e-05/0.7059, allocations: 41.7 kB / 0.8973 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.7059, allocations: 0 / 0.8973 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.174e-06/0.7059, allocations: 4 kB / 0.8973 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001203/0.7071, allocations: 235.7 kB / 0.8975 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.248e-06/0.7071, allocations: 4 kB / 0.8975 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001188/0.7083, allocations: 171.5 kB / 0.8977 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.653e-05/0.7084, allocations: 35.97 kB / 0.8977 GB, free: 10.47 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.0002584/0.7087, allocations: 225.4 kB / 0.8979 GB, free: 10.25 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001686/0.7089, allocations: 106.7 kB / 0.898 GB, free: 10.14 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003585/0.7124, allocations: 1.367 MB / 0.8993 GB, free: 8.766 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.094e-05/0.7125, allocations: 8 kB / 0.8993 GB, free: 8.758 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.7125, allocations: 0 / 0.8993 GB, free: 8.758 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.7125, allocations: 3.984 kB / 0.8993 GB, free: 8.754 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005498/0.718, allocations: 2.862 MB / 0.9021 GB, free: 5.793 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.718, allocations: 0 / 0.9021 GB, free: 5.793 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001219/0.7193, allocations: 239.9 kB / 0.9024 GB, free: 5.559 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.748e-06/0.7193, allocations: 4 kB / 0.9024 GB, free: 5.555 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.907e-05/0.7194, allocations: 31.98 kB / 0.9024 GB, free: 5.523 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005784/0.7199, allocations: 1.188 MB / 0.9036 GB, free: 4.289 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/0.72, allocations: 8.031 kB / 0.9036 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005311/0.7253, allocations: 2.916 MB / 0.9064 GB, free: 1.258 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005207/0.7258, allocations: 315.5 kB / 0.9067 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/0.7259, allocations: 19.94 kB / 0.9067 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001157/0.7271, allocations: 143.8 kB / 0.9069 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/0.7272, allocations: 64.42 kB / 0.9069 GB, free: 0.707 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.579e-05/0.7273, allocations: 31.97 kB / 0.907 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0006359/0.728, allocations: 0.5739 MB / 0.9075 GB, free: 92 kB / 0.6355 GB Notification: Performance of sort global known variables: time 1.2e-07/0.728, allocations: 4 kB / 0.9075 GB, free: 88 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001412/0.7294, allocations: 0.5342 MB / 0.9081 GB, free: 15.55 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.0005074/0.7299, allocations: 271.1 kB / 0.9083 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.005287/0.7352, allocations: 2.045 MB / 0.9103 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.7352, allocations: 0 / 0.9103 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001702/0.7369, allocations: 0.6714 MB / 0.911 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002486/0.7394, allocations: 0.5053 MB / 0.9115 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004423/0.7439, allocations: 2.92 MB / 0.9143 GB, free: 9.043 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005774/0.7444, allocations: 1.118 MB / 0.9154 GB, free: 7.898 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.00149/0.7459, allocations: 391.5 kB / 0.9158 GB, free: 7.512 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003156/0.7463, allocations: 87.41 kB / 0.9159 GB, free: 7.426 MB / 0.6511 GB Notification: Performance of SimCode: time 3.71e-07/0.7463, allocations: 0 / 0.9159 GB, free: 7.426 MB / 0.6511 GB Notification: Performance of Templates: time 0.02833/0.7746, allocations: 20.63 MB / 0.936 GB, free: 3.035 MB / 0.6667 GB make -j1 -f IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.makefile (rm -f IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.sim & ./IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MassExchangers.Validation.ConstantEffectivenessZeroFlow.pipe 2>&1)