Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.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.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 109.7 kB / 16.41 MB, free: 6.477 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.001318/0.001318, allocations: 183 kB / 17.34 MB, free: 5.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8055/0.8055, allocations: 135.1 MB / 426.3 MB, free: 4.148 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 64.95 kB / 0.5863 GB, free: 21.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1593, allocations: 80.92 MB / 0.6653 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.6326/0.792, allocations: 214.2 MB / 0.8745 GB, free: 9.211 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01109/0.8031, allocations: 7.031 MB / 0.8813 GB, free: 2.164 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002015/0.8052, allocations: 43.75 kB / 0.8814 GB, free: 2.121 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002414/0.8077, allocations: 0.7804 MB / 0.8821 GB, free: 1.336 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.007702/0.8154, allocations: 2.509 MB / 0.8846 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003809/0.8192, allocations: 1.175 MB / 0.8857 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.004797/0.824, allocations: 2.816 MB / 0.8885 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001909/0.826, allocations: 1.091 MB / 0.8895 GB, free: 9.727 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004436/0.8304, allocations: 2.016 MB / 0.8915 GB, free: 7.703 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002262/0.8327, allocations: 0.9303 MB / 0.8924 GB, free: 6.773 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002845/0.833, allocations: 116 kB / 0.8925 GB, free: 6.66 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004601/0.8376, allocations: 2.455 MB / 0.8949 GB, free: 4.199 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0005205/0.8382, allocations: 426.7 kB / 0.8953 GB, free: 3.781 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001002/0.8392, allocations: 0.6804 MB / 0.896 GB, free: 3.098 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004753/0.8439, allocations: 2.501 MB / 0.8984 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.844, allocations: 0 / 0.8984 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.824e-06/0.844, allocations: 0 / 0.8984 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.047e-05/0.844, allocations: 3.938 kB / 0.8984 GB, free: 0.5859 MB / 0.6544 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.0045/0.8485, allocations: 1.851 MB / 0.9002 GB, free: 14.68 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.8486, allocations: 9.109 kB / 0.9003 GB, free: 14.67 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003103/0.8517, allocations: 0.5331 MB / 0.9008 GB, free: 14.13 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001853/0.8536, allocations: 1.008 MB / 0.9018 GB, free: 13.08 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.459e-05/0.8537, allocations: 73.98 kB / 0.9018 GB, free: 13.01 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001468/0.8538, allocations: 84 kB / 0.9019 GB, free: 12.93 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002693/0.8565, allocations: 1.221 MB / 0.9031 GB, free: 11.7 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.907e-05/0.8566, allocations: 0 / 0.9031 GB, free: 11.7 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/0.8567, allocations: 35.98 kB / 0.9031 GB, free: 11.66 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.529e-05/0.8567, allocations: 45.98 kB / 0.9032 GB, free: 11.62 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003552/0.8603, allocations: 1.526 MB / 0.9047 GB, free: 10.09 MB / 0.67 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.006537/0.8668, allocations: 4.049 MB / 0.9086 GB, free: 5.766 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002389/0.8693, allocations: 0.9701 MB / 0.9096 GB, free: 4.789 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001466/0.8707, allocations: 0.6474 MB / 0.9102 GB, free: 4.137 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001106/0.8719, allocations: 0.6126 MB / 0.9108 GB, free: 3.414 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.64e-05/0.8719, allocations: 47.22 kB / 0.9108 GB, free: 3.359 MB / 0.67 GB Notification: Performance of pre-optimization done (n=76): time 2.495e-06/0.8719, allocations: 0 / 0.9108 GB, free: 3.359 MB / 0.67 GB Notification: Performance of matching and sorting (n=76): time 0.00488/0.8768, allocations: 1.781 MB / 0.9126 GB, free: 1.57 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.998e-05/0.8769, allocations: 60.06 kB / 0.9126 GB, free: 1.5 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001071/0.878, allocations: 0.8193 MB / 0.9134 GB, free: 0.6562 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.000137/0.8781, allocations: 45.7 kB / 0.9135 GB, free: 0.6055 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003142/0.8784, allocations: 440.5 kB / 0.9139 GB, free: 172 kB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002303/0.8787, allocations: 260.3 kB / 0.9142 GB, free: 15.91 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000299/0.879, allocations: 158.5 kB / 0.9143 GB, free: 15.75 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.8791, allocations: 337.9 kB / 0.9146 GB, free: 15.41 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001383/0.8805, allocations: 0.5317 MB / 0.9152 GB, free: 14.88 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001491/0.882, allocations: 0.6559 MB / 0.9158 GB, free: 14.19 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002792/0.8848, allocations: 1.139 MB / 0.9169 GB, free: 13.02 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.8848, allocations: 3.938 kB / 0.9169 GB, free: 13.02 MB / 0.6856 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003382/0.8882, allocations: 1.341 MB / 0.9182 GB, free: 11.66 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 5.219e-05/0.8883, allocations: 33.7 kB / 0.9182 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.8883, allocations: 0 / 0.9182 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.105e-05/0.8883, allocations: 4 kB / 0.9183 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001524/0.8899, allocations: 258.2 kB / 0.9185 GB, free: 11.37 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006987/0.8906, allocations: 1.195 MB / 0.9197 GB, free: 10.13 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001232/0.8918, allocations: 147.4 kB / 0.9198 GB, free: 9.984 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.531e-05/0.8919, allocations: 31.98 kB / 0.9198 GB, free: 9.953 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00181/0.8937, allocations: 0.7594 MB / 0.9206 GB, free: 9.188 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001482/0.8952, allocations: 0.652 MB / 0.9212 GB, free: 8.504 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002735/0.898, allocations: 1.123 MB / 0.9223 GB, free: 7.363 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.437e-06/0.898, allocations: 4 kB / 0.9223 GB, free: 7.359 MB / 0.6856 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.003325/0.9013, allocations: 1.329 MB / 0.9236 GB, free: 6.016 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.662e-05/0.9014, allocations: 39.83 kB / 0.9237 GB, free: 5.973 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.9014, allocations: 0 / 0.9237 GB, free: 5.973 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.146e-06/0.9014, allocations: 4 kB / 0.9237 GB, free: 5.969 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001189/0.9026, allocations: 231.7 kB / 0.9239 GB, free: 5.742 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.998e-06/0.9026, allocations: 12 kB / 0.9239 GB, free: 5.73 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001138/0.9038, allocations: 127.4 kB / 0.924 GB, free: 5.605 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.511e-05/0.9039, allocations: 37.45 kB / 0.924 GB, free: 5.57 MB / 0.6856 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.0003205/0.9042, allocations: 220.1 kB / 0.9243 GB, free: 5.348 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002085/0.9044, allocations: 106.6 kB / 0.9244 GB, free: 5.242 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003344/0.9078, allocations: 1.344 MB / 0.9257 GB, free: 3.891 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.838e-06/0.9078, allocations: 8 kB / 0.9257 GB, free: 3.883 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.9078, allocations: 0 / 0.9257 GB, free: 3.883 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.9078, allocations: 7.984 kB / 0.9257 GB, free: 3.875 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005398/0.9132, allocations: 2.844 MB / 0.9285 GB, free: 0.9219 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.555e-06/0.9133, allocations: 4 kB / 0.9285 GB, free: 0.918 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001263/0.9145, allocations: 227.8 kB / 0.9287 GB, free: 0.6953 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.096e-05/0.9146, allocations: 11.94 kB / 0.9287 GB, free: 0.6836 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.478e-05/0.9146, allocations: 23.98 kB / 0.9287 GB, free: 0.6602 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007026/0.9153, allocations: 1.188 MB / 0.9299 GB, free: 15.43 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/0.9154, allocations: 11.98 kB / 0.9299 GB, free: 15.41 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003457/0.9188, allocations: 1.451 MB / 0.9313 GB, free: 13.9 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000579/0.9194, allocations: 307.5 kB / 0.9316 GB, free: 13.58 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001473/0.9196, allocations: 16 kB / 0.9316 GB, free: 13.57 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001097/0.9207, allocations: 111.8 kB / 0.9317 GB, free: 13.46 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001488/0.9208, allocations: 56.44 kB / 0.9318 GB, free: 13.4 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.967e-05/0.9209, allocations: 44.06 kB / 0.9318 GB, free: 13.36 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0007745/0.9217, allocations: 0.5699 MB / 0.9324 GB, free: 12.77 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.8e-07/0.9217, allocations: 0 / 0.9324 GB, free: 12.77 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001381/0.9231, allocations: 0.5341 MB / 0.9329 GB, free: 12.24 MB / 0.7012 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.0006605/0.9238, allocations: 274.6 kB / 0.9332 GB, free: 11.98 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.005399/0.9292, allocations: 2.022 MB / 0.9351 GB, free: 9.934 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/0.9292, allocations: 0 / 0.9351 GB, free: 9.934 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001727/0.931, allocations: 0.6675 MB / 0.9358 GB, free: 9.266 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002574/0.9336, allocations: 0.4897 MB / 0.9363 GB, free: 8.781 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004634/0.9382, allocations: 2.11 MB / 0.9383 GB, free: 6.586 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007269/0.939, allocations: 1.094 MB / 0.9394 GB, free: 5.457 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005378/0.9395, allocations: 103.4 kB / 0.9395 GB, free: 5.359 MB / 0.7012 GB Notification: Performance of SimCode: time 7.21e-07/0.9395, allocations: 4 kB / 0.9395 GB, free: 5.355 MB / 0.7012 GB Notification: Performance of Templates: time 0.03426/0.9738, allocations: 26.83 MB / 0.9657 GB, free: 10.62 MB / 0.7325 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (rm -f IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)