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.001589/0.001589, allocations: 109.3 kB / 16.41 MB, free: 6.5 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.001366/0.001366, allocations: 183 kB / 17.34 MB, free: 5.762 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.467/1.467, 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.8533/0.8533, allocations: 135.2 MB / 426.4 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 70.92 kB / 0.5863 GB, free: 21.53 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1788/0.1808, allocations: 80.93 MB / 0.6653 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.6558/0.8366, allocations: 214.7 MB / 0.875 GB, free: 8.418 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01331/0.8499, allocations: 7.047 MB / 0.8819 GB, free: 1.355 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002457/0.8524, allocations: 47.75 kB / 0.882 GB, free: 1.309 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003007/0.8554, allocations: 0.8193 MB / 0.8828 GB, free: 496 kB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.008835/0.8642, allocations: 2.614 MB / 0.8853 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003967/0.8682, allocations: 1.172 MB / 0.8865 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.005753/0.8739, allocations: 2.821 MB / 0.8892 GB, free: 9.875 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001996/0.8759, allocations: 0.8916 MB / 0.8901 GB, free: 8.957 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005599/0.8815, allocations: 2.055 MB / 0.8921 GB, free: 6.895 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002974/0.8845, allocations: 0.9429 MB / 0.893 GB, free: 5.957 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.000371/0.8849, allocations: 116 kB / 0.8931 GB, free: 5.844 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005717/0.8906, allocations: 2.455 MB / 0.8955 GB, free: 3.383 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000693/0.8913, allocations: 442.5 kB / 0.8959 GB, free: 2.949 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001199/0.8925, allocations: 0.6804 MB / 0.8966 GB, free: 2.266 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00609/0.8986, allocations: 2.515 MB / 0.8991 GB, free: 15.74 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.8986, allocations: 0 / 0.8991 GB, free: 15.74 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.265e-06/0.8986, allocations: 0 / 0.8991 GB, free: 15.74 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.851e-05/0.8986, allocations: 0 / 0.8991 GB, free: 15.74 MB / 0.67 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.005216/0.9038, allocations: 1.896 MB / 0.9009 GB, free: 13.79 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.9039, allocations: 17.11 kB / 0.9009 GB, free: 13.77 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003236/0.9071, allocations: 0.5416 MB / 0.9015 GB, free: 13.23 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002244/0.9093, allocations: 1.013 MB / 0.9025 GB, free: 12.17 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.442e-05/0.9094, allocations: 62 kB / 0.9025 GB, free: 12.11 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001531/0.9096, allocations: 80 kB / 0.9026 GB, free: 12.03 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003019/0.9126, allocations: 1.229 MB / 0.9038 GB, free: 10.8 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.231e-05/0.9126, allocations: 0 / 0.9038 GB, free: 10.8 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001097/0.9127, allocations: 35.92 kB / 0.9038 GB, free: 10.76 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.64e-05/0.9128, allocations: 53.98 kB / 0.9039 GB, free: 10.71 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003913/0.9167, allocations: 1.526 MB / 0.9054 GB, free: 9.18 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.007276/0.924, allocations: 4.047 MB / 0.9093 GB, free: 4.859 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002573/0.9265, allocations: 0.9155 MB / 0.9102 GB, free: 3.938 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001533/0.9281, allocations: 0.6167 MB / 0.9108 GB, free: 3.316 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00116/0.9292, allocations: 0.6126 MB / 0.9114 GB, free: 2.594 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.362e-05/0.9293, allocations: 39.22 kB / 0.9114 GB, free: 2.547 MB / 0.67 GB Notification: Performance of pre-optimization done (n=76): time 2.905e-06/0.9293, allocations: 0 / 0.9114 GB, free: 2.547 MB / 0.67 GB Notification: Performance of matching and sorting (n=76): time 0.005426/0.9347, allocations: 1.793 MB / 0.9132 GB, free: 0.7461 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.146e-05/0.9348, allocations: 60.06 kB / 0.9133 GB, free: 0.6758 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001287/0.9361, allocations: 0.8154 MB / 0.9141 GB, free: 15.84 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001349/0.9362, allocations: 49.69 kB / 0.9141 GB, free: 15.78 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004138/0.9366, allocations: 441.1 kB / 0.9145 GB, free: 15.34 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002809/0.9369, allocations: 277.6 kB / 0.9148 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003249/0.9372, allocations: 158.5 kB / 0.9149 GB, free: 14.91 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001847/0.9374, allocations: 341.9 kB / 0.9153 GB, free: 14.57 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00147/0.9389, allocations: 0.5239 MB / 0.9158 GB, free: 14.04 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001632/0.9405, allocations: 0.6597 MB / 0.9164 GB, free: 13.35 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003023/0.9435, allocations: 1.14 MB / 0.9175 GB, free: 12.19 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.9435, allocations: 0 / 0.9175 GB, free: 12.19 MB / 0.6856 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003702/0.9472, allocations: 1.349 MB / 0.9188 GB, free: 10.82 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 6.094e-05/0.9473, allocations: 33.7 kB / 0.9189 GB, free: 10.79 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.925e-05/0.9473, allocations: 7.922 kB / 0.9189 GB, free: 10.78 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.284e-05/0.9473, allocations: 4 kB / 0.9189 GB, free: 10.77 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001558/0.9489, allocations: 262.8 kB / 0.9191 GB, free: 10.52 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001037/0.9499, allocations: 1.188 MB / 0.9203 GB, free: 9.285 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001165/0.9511, allocations: 147.5 kB / 0.9204 GB, free: 9.141 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/0.9512, allocations: 39.97 kB / 0.9205 GB, free: 9.102 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001915/0.9531, allocations: 0.7517 MB / 0.9212 GB, free: 8.344 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001604/0.9547, allocations: 0.6481 MB / 0.9218 GB, free: 7.664 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003061/0.9578, allocations: 1.123 MB / 0.9229 GB, free: 6.523 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.749e-06/0.9578, allocations: 0 / 0.9229 GB, free: 6.523 MB / 0.6856 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.003754/0.9615, allocations: 1.338 MB / 0.9243 GB, free: 5.172 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 5.211e-05/0.9616, allocations: 41.64 kB / 0.9243 GB, free: 5.125 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.9616, allocations: 0 / 0.9243 GB, free: 5.125 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.659e-06/0.9616, allocations: 4 kB / 0.9243 GB, free: 5.121 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001213/0.9628, allocations: 227.8 kB / 0.9245 GB, free: 4.898 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.548e-06/0.9628, allocations: 4 kB / 0.9245 GB, free: 4.895 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001134/0.964, allocations: 139.5 kB / 0.9246 GB, free: 4.758 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.228e-05/0.9641, allocations: 35.97 kB / 0.9247 GB, free: 4.723 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.0003653/0.9644, allocations: 220.1 kB / 0.9249 GB, free: 4.5 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002182/0.9646, allocations: 115.3 kB / 0.925 GB, free: 4.387 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00372/0.9684, allocations: 1.349 MB / 0.9263 GB, free: 3.031 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.294e-05/0.9684, allocations: 8 kB / 0.9263 GB, free: 3.023 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.9684, allocations: 4 kB / 0.9263 GB, free: 3.02 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.377e-06/0.9684, allocations: 3.984 kB / 0.9263 GB, free: 3.016 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006164/0.9746, allocations: 2.835 MB / 0.9291 GB, free: 76 kB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-06/0.9746, allocations: 4 kB / 0.9291 GB, free: 72 kB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001254/0.9758, allocations: 232 kB / 0.9293 GB, free: 15.84 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.261e-05/0.9758, allocations: 8 kB / 0.9293 GB, free: 15.84 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.533e-05/0.9759, allocations: 23.98 kB / 0.9294 GB, free: 15.81 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008333/0.9767, allocations: 1.192 MB / 0.9305 GB, free: 14.57 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.621e-05/0.9768, allocations: 11.88 kB / 0.9305 GB, free: 14.56 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003683/0.9804, allocations: 1.456 MB / 0.932 GB, free: 13.05 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006436/0.9811, allocations: 312.2 kB / 0.9323 GB, free: 12.72 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001527/0.9812, allocations: 16 kB / 0.9323 GB, free: 12.71 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001121/0.9824, allocations: 111.8 kB / 0.9324 GB, free: 12.6 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001641/0.9825, allocations: 60.42 kB / 0.9324 GB, free: 12.54 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.055e-05/0.9826, allocations: 31.98 kB / 0.9325 GB, free: 12.5 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0009085/0.9835, allocations: 0.5739 MB / 0.933 GB, free: 11.92 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1e-07/0.9835, allocations: 7.938 kB / 0.933 GB, free: 11.91 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001499/0.985, allocations: 0.5381 MB / 0.9336 GB, free: 11.37 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.0007415/0.9858, allocations: 262 kB / 0.9338 GB, free: 11.12 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.005568/0.9913, allocations: 1.944 MB / 0.9357 GB, free: 9.148 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 9.167e-06/0.9913, allocations: 4 kB / 0.9357 GB, free: 9.145 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001837/0.9932, allocations: 0.6246 MB / 0.9363 GB, free: 8.523 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002618/0.9958, allocations: 0.5024 MB / 0.9368 GB, free: 8.031 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00477/1.001, allocations: 2.147 MB / 0.9389 GB, free: 5.797 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008267/1.001, allocations: 1.094 MB / 0.94 GB, free: 4.668 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005432/1.002, allocations: 103.4 kB / 0.9401 GB, free: 4.57 MB / 0.7012 GB Notification: Performance of SimCode: time 6.81e-07/1.002, allocations: 0 / 0.9401 GB, free: 4.57 MB / 0.7012 GB Notification: Performance of Templates: time 0.039/1.041, allocations: 26.92 MB / 0.9664 GB, free: 9.734 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)