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.001095/0.001094, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002398/0.002397, allocations: 194.7 kB / 16.25 MB, free: 6.621 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.46/1.46, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.044/1.044, allocations: 135.1 MB / 425.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001297, allocations: 63.5 kB / 0.5048 GB, free: 5.664 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1717/0.173, allocations: 80.93 MB / 0.5839 GB, free: 4.902 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.5301/0.7031, allocations: 211.5 MB / 0.7904 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01251/0.7157, allocations: 6.998 MB / 0.7973 GB, free: 2.688 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00219/0.7179, allocations: 39.75 kB / 0.7973 GB, free: 2.648 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002681/0.7206, allocations: 0.6841 MB / 0.798 GB, free: 1.961 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.007931/0.7286, allocations: 2.354 MB / 0.8003 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003285/0.7319, allocations: 1.077 MB / 0.8013 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004336/0.7363, allocations: 2.821 MB / 0.8041 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002094/0.7384, allocations: 1.083 MB / 0.8051 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004952/0.7434, allocations: 1.97 MB / 0.807 GB, free: 8.629 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002579/0.746, allocations: 0.9785 MB / 0.808 GB, free: 7.652 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000363/0.7463, allocations: 116 kB / 0.8081 GB, free: 7.539 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005133/0.7515, allocations: 2.58 MB / 0.8106 GB, free: 4.953 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000765/0.7523, allocations: 430.7 kB / 0.811 GB, free: 4.531 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001513/0.7538, allocations: 0.6881 MB / 0.8117 GB, free: 3.84 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00487/0.7587, allocations: 2.618 MB / 0.8143 GB, free: 1.215 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.7587, allocations: 0 / 0.8143 GB, free: 1.215 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.784e-06/0.7587, allocations: 4 kB / 0.8143 GB, free: 1.211 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.251e-05/0.7587, allocations: 0 / 0.8143 GB, free: 1.211 MB / 0.6231 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.004393/0.7631, allocations: 1.85 MB / 0.8161 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.7632, allocations: 8.031 kB / 0.8161 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003114/0.7663, allocations: 0.5369 MB / 0.8166 GB, free: 14.76 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001699/0.768, allocations: 0.9649 MB / 0.8176 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006084/0.7686, allocations: 173.9 kB / 0.8177 GB, free: 13.58 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001449/0.7688, allocations: 84 kB / 0.8178 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002786/0.7716, allocations: 1.233 MB / 0.819 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/0.7716, allocations: 0 / 0.819 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001083/0.7717, allocations: 36 kB / 0.819 GB, free: 12.22 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.513e-05/0.7718, allocations: 45.98 kB / 0.8191 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003733/0.7755, allocations: 1.55 MB / 0.8206 GB, free: 10.62 MB / 0.6387 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.006354/0.7819, allocations: 4.052 MB / 0.8246 GB, free: 6.301 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002525/0.7844, allocations: 0.9974 MB / 0.8255 GB, free: 5.297 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001501/0.786, allocations: 0.663 MB / 0.8262 GB, free: 4.629 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001102/0.7871, allocations: 0.6125 MB / 0.8268 GB, free: 3.906 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.7871, allocations: 50.91 kB / 0.8268 GB, free: 3.852 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=76): time 2.404e-06/0.7871, allocations: 0 / 0.8268 GB, free: 3.852 MB / 0.6387 GB Notification: Performance of matching and sorting (n=76): time 0.004994/0.7921, allocations: 1.812 MB / 0.8286 GB, free: 2.035 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.762e-05/0.7922, allocations: 64.06 kB / 0.8287 GB, free: 1.961 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/0.7933, allocations: 0.8194 MB / 0.8295 GB, free: 1.117 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001123/0.7934, allocations: 41.7 kB / 0.8295 GB, free: 1.07 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003328/0.7937, allocations: 440.5 kB / 0.8299 GB, free: 0.6328 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002146/0.794, allocations: 260.1 kB / 0.8302 GB, free: 384 kB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000309/0.7943, allocations: 154.5 kB / 0.8303 GB, free: 224 kB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.7944, allocations: 337.9 kB / 0.8306 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001467/0.7959, allocations: 0.5395 MB / 0.8312 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001578/0.7975, allocations: 0.6676 MB / 0.8318 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002879/0.8004, allocations: 1.151 MB / 0.8329 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.8004, allocations: 4 kB / 0.8329 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003451/0.8038, allocations: 1.357 MB / 0.8343 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.688e-05/0.8039, allocations: 37.69 kB / 0.8343 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.914e-06/0.8039, allocations: 0 / 0.8343 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.323e-05/0.804, allocations: 4 kB / 0.8343 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001604/0.8056, allocations: 272.4 kB / 0.8346 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007761/0.8064, allocations: 1.184 MB / 0.8357 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001364/0.8077, allocations: 184.3 kB / 0.8359 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001109/0.8079, allocations: 31.98 kB / 0.8359 GB, free: 10.34 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001833/0.8097, allocations: 0.7672 MB / 0.8367 GB, free: 9.574 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001532/0.8112, allocations: 0.6598 MB / 0.8373 GB, free: 8.883 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002818/0.8141, allocations: 1.139 MB / 0.8384 GB, free: 7.727 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.118e-06/0.8141, allocations: 7.938 kB / 0.8384 GB, free: 7.719 MB / 0.6544 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.003364/0.8175, allocations: 1.353 MB / 0.8398 GB, free: 6.352 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.124e-05/0.8175, allocations: 41.62 kB / 0.8398 GB, free: 6.305 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.8175, allocations: 0 / 0.8398 GB, free: 6.305 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.989e-06/0.8175, allocations: 7.984 kB / 0.8398 GB, free: 6.297 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001246/0.8188, allocations: 235.8 kB / 0.84 GB, free: 6.066 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.442e-05/0.8188, allocations: 4 kB / 0.84 GB, free: 6.062 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001307/0.8201, allocations: 167.4 kB / 0.8402 GB, free: 5.898 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001129/0.8203, allocations: 31.97 kB / 0.8402 GB, free: 5.867 MB / 0.6544 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.0004792/0.8207, allocations: 220.1 kB / 0.8404 GB, free: 5.645 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004445/0.8212, allocations: 106.7 kB / 0.8405 GB, free: 5.539 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004088/0.8253, allocations: 1.361 MB / 0.8419 GB, free: 4.168 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.8253, allocations: 12 kB / 0.8419 GB, free: 4.156 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.8253, allocations: 0 / 0.8419 GB, free: 4.156 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.8253, allocations: 7.984 kB / 0.8419 GB, free: 4.148 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006919/0.8323, allocations: 2.855 MB / 0.8447 GB, free: 1.191 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-05/0.8323, allocations: 4.469 kB / 0.8447 GB, free: 1.188 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001316/0.8336, allocations: 232.6 kB / 0.8449 GB, free: 0.9609 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.671e-05/0.8337, allocations: 8 kB / 0.8449 GB, free: 0.9531 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.12e-05/0.8337, allocations: 31.97 kB / 0.8449 GB, free: 0.9219 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006962/0.8344, allocations: 1.188 MB / 0.8461 GB, free: 15.69 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.618e-06/0.8345, allocations: 7.938 kB / 0.8461 GB, free: 15.68 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003477/0.838, allocations: 1.467 MB / 0.8475 GB, free: 14.15 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006324/0.8386, allocations: 311.4 kB / 0.8478 GB, free: 13.82 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002317/0.8388, allocations: 20 kB / 0.8479 GB, free: 13.8 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001481/0.8403, allocations: 147.7 kB / 0.848 GB, free: 13.66 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001715/0.8405, allocations: 60.42 kB / 0.8481 GB, free: 13.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.068e-05/0.8406, allocations: 35.97 kB / 0.8481 GB, free: 13.57 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001011/0.8416, allocations: 0.57 MB / 0.8486 GB, free: 12.98 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8417, allocations: 4 kB / 0.8486 GB, free: 12.98 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001998/0.8437, allocations: 0.534 MB / 0.8492 GB, free: 12.45 MB / 0.67 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.0008401/0.8445, allocations: 281.9 kB / 0.8494 GB, free: 12.19 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.005768/0.8503, allocations: 2.151 MB / 0.8515 GB, free: 10.02 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.8503, allocations: 0 / 0.8515 GB, free: 10.02 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001701/0.852, allocations: 0.6675 MB / 0.8522 GB, free: 9.348 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002436/0.8545, allocations: 493.2 kB / 0.8527 GB, free: 8.879 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004917/0.8594, allocations: 2.507 MB / 0.8551 GB, free: 6.301 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008153/0.8602, allocations: 1.091 MB / 0.8562 GB, free: 5.18 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.00165/0.8619, allocations: 395.5 kB / 0.8566 GB, free: 4.789 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000331/0.8622, allocations: 87.41 kB / 0.8566 GB, free: 4.703 MB / 0.67 GB Notification: Performance of SimCode: time 8.31e-07/0.8622, allocations: 0 / 0.8566 GB, free: 4.703 MB / 0.67 GB Notification: Performance of Templates: time 0.4573/1.32, allocations: 20.58 MB / 0.8767 GB, free: 54.5 MB / 0.67 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)