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.00155/0.00155, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001599/0.001599, allocations: 193.9 kB / 16.25 MB, free: 6.637 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.357/1.357, allocations: 222.9 MB / 239.9 MB, free: 4.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9219/0.9219, allocations: 135.6 MB / 425.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 72.56 kB / 0.5054 GB, free: 5.188 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1545, allocations: 81.02 MB / 0.5845 GB, free: 4.297 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.4607/0.6152, allocations: 211.5 MB / 0.791 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01173/0.627, allocations: 6.999 MB / 0.7979 GB, free: 1.969 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001766/0.6288, allocations: 39.75 kB / 0.7979 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002052/0.6309, allocations: 0.6919 MB / 0.7986 GB, free: 1.234 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006377/0.6373, allocations: 2.354 MB / 0.8009 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002926/0.6403, allocations: 1.073 MB / 0.8019 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004209/0.6445, allocations: 2.825 MB / 0.8047 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001635/0.6461, allocations: 1.08 MB / 0.8057 GB, free: 9.887 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004178/0.6503, allocations: 1.97 MB / 0.8077 GB, free: 7.91 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002124/0.6525, allocations: 0.9855 MB / 0.8086 GB, free: 6.934 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000198/0.6527, allocations: 120 kB / 0.8087 GB, free: 6.816 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004416/0.6571, allocations: 2.576 MB / 0.8113 GB, free: 4.234 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004797/0.6576, allocations: 422.7 kB / 0.8117 GB, free: 3.82 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0008286/0.6584, allocations: 0.6921 MB / 0.8123 GB, free: 3.125 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003997/0.6624, allocations: 2.629 MB / 0.8149 GB, free: 500 kB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.6625, allocations: 0 / 0.8149 GB, free: 500 kB / 0.6231 GB Notification: Performance of FrontEnd: time 1.914e-06/0.6625, allocations: 0 / 0.8149 GB, free: 500 kB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.695e-05/0.6625, allocations: 4 kB / 0.8149 GB, free: 496 kB / 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.004431/0.6669, allocations: 1.838 MB / 0.8167 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.667, allocations: 8.031 kB / 0.8167 GB, free: 14.58 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003087/0.6701, allocations: 0.5447 MB / 0.8172 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001745/0.6718, allocations: 0.9563 MB / 0.8182 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006212/0.6725, allocations: 181.9 kB / 0.8184 GB, free: 12.86 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001449/0.6726, allocations: 80 kB / 0.8184 GB, free: 12.78 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002808/0.6754, allocations: 1.233 MB / 0.8196 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/0.6755, allocations: 0 / 0.8196 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/0.6756, allocations: 36 kB / 0.8197 GB, free: 11.5 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.27e-05/0.6756, allocations: 41.98 kB / 0.8197 GB, free: 11.46 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003672/0.6793, allocations: 1.55 MB / 0.8212 GB, free: 9.91 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.006725/0.6861, allocations: 4.046 MB / 0.8252 GB, free: 5.586 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002606/0.6887, allocations: 1.003 MB / 0.8261 GB, free: 4.578 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001547/0.6902, allocations: 0.663 MB / 0.8268 GB, free: 3.914 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001189/0.6914, allocations: 0.6125 MB / 0.8274 GB, free: 3.188 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/0.6915, allocations: 39.22 kB / 0.8274 GB, free: 3.141 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=76): time 2.876e-06/0.6915, allocations: 3.938 kB / 0.8274 GB, free: 3.137 MB / 0.6387 GB Notification: Performance of matching and sorting (n=76): time 0.004951/0.6964, allocations: 1.812 MB / 0.8292 GB, free: 1.324 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.37e-05/0.6965, allocations: 64.06 kB / 0.8293 GB, free: 1.246 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001111/0.6976, allocations: 0.8154 MB / 0.8301 GB, free: 416 kB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001048/0.6978, allocations: 53.64 kB / 0.8301 GB, free: 356 kB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003892/0.6982, allocations: 444.5 kB / 0.8305 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002572/0.6984, allocations: 256.2 kB / 0.8308 GB, free: 15.65 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003199/0.6987, allocations: 154.5 kB / 0.8309 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.6989, allocations: 341.9 kB / 0.8313 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001445/0.7004, allocations: 0.5356 MB / 0.8318 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001566/0.7019, allocations: 0.6676 MB / 0.8324 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002862/0.7048, allocations: 1.143 MB / 0.8335 GB, free: 12.76 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.7048, allocations: 0 / 0.8335 GB, free: 12.76 MB / 0.6544 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003508/0.7083, allocations: 1.368 MB / 0.8349 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.068e-05/0.7084, allocations: 37.7 kB / 0.8349 GB, free: 11.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.966e-06/0.7084, allocations: 7.688 kB / 0.8349 GB, free: 11.33 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/0.7084, allocations: 4 kB / 0.8349 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001574/0.71, allocations: 259.7 kB / 0.8352 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008818/0.7109, allocations: 1.192 MB / 0.8363 GB, free: 9.836 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001251/0.7122, allocations: 179.4 kB / 0.8365 GB, free: 9.66 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.641e-05/0.7123, allocations: 47.89 kB / 0.8366 GB, free: 9.613 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00183/0.7141, allocations: 0.7595 MB / 0.8373 GB, free: 8.852 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001561/0.7157, allocations: 0.6632 MB / 0.8379 GB, free: 8.156 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002894/0.7186, allocations: 1.143 MB / 0.8391 GB, free: 6.992 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.475e-06/0.7186, allocations: 0 / 0.8391 GB, free: 6.992 MB / 0.6544 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.003451/0.7221, allocations: 1.353 MB / 0.8404 GB, free: 5.625 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.693e-05/0.7221, allocations: 41.64 kB / 0.8404 GB, free: 5.578 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.7221, allocations: 0 / 0.8404 GB, free: 5.578 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.7221, allocations: 7.984 kB / 0.8404 GB, free: 5.57 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/0.7234, allocations: 235.7 kB / 0.8407 GB, free: 5.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.409e-05/0.7234, allocations: 4 kB / 0.8407 GB, free: 5.336 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001215/0.7246, allocations: 163.4 kB / 0.8408 GB, free: 5.176 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.319e-05/0.7248, allocations: 31.98 kB / 0.8408 GB, free: 5.145 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.0003308/0.7251, allocations: 222.8 kB / 0.8411 GB, free: 4.922 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000263/0.7254, allocations: 110.7 kB / 0.8412 GB, free: 4.812 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00374/0.7291, allocations: 1.36 MB / 0.8425 GB, free: 3.441 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.798e-06/0.7291, allocations: 15.88 kB / 0.8425 GB, free: 3.426 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.657e-06/0.7291, allocations: 1.562 kB / 0.8425 GB, free: 3.426 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.807e-06/0.7292, allocations: 7.984 kB / 0.8425 GB, free: 3.418 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005976/0.7351, allocations: 2.855 MB / 0.8453 GB, free: 476 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.775e-06/0.7352, allocations: 4 kB / 0.8453 GB, free: 472 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001262/0.7364, allocations: 238.2 kB / 0.8455 GB, free: 236 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.952e-05/0.7365, allocations: 9.062 kB / 0.8455 GB, free: 228 kB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.585e-05/0.7366, allocations: 19.98 kB / 0.8456 GB, free: 208 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007826/0.7373, allocations: 1.199 MB / 0.8467 GB, free: 14.96 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.703e-06/0.7374, allocations: 4 kB / 0.8467 GB, free: 14.95 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003393/0.7408, allocations: 1.463 MB / 0.8482 GB, free: 13.43 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006386/0.7414, allocations: 315.4 kB / 0.8485 GB, free: 13.1 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001897/0.7416, allocations: 16 kB / 0.8485 GB, free: 13.08 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0013/0.7429, allocations: 147.8 kB / 0.8486 GB, free: 12.94 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001436/0.7431, allocations: 53.31 kB / 0.8487 GB, free: 12.89 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.414e-05/0.7432, allocations: 35.97 kB / 0.8487 GB, free: 12.85 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0008794/0.744, allocations: 0.5739 MB / 0.8493 GB, free: 12.27 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7441, allocations: 0 / 0.8493 GB, free: 12.27 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001476/0.7455, allocations: 0.534 MB / 0.8498 GB, free: 11.73 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.0006905/0.7462, allocations: 281.8 kB / 0.8501 GB, free: 11.46 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.005879/0.7521, allocations: 2.151 MB / 0.8522 GB, free: 9.293 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.7522, allocations: 4.062 kB / 0.8522 GB, free: 9.289 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001792/0.754, allocations: 0.6713 MB / 0.8528 GB, free: 8.617 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002648/0.7566, allocations: 0.4884 MB / 0.8533 GB, free: 8.145 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005404/0.762, allocations: 2.506 MB / 0.8557 GB, free: 5.566 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001045/0.7631, allocations: 1.091 MB / 0.8568 GB, free: 4.445 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001981/0.7651, allocations: 391.5 kB / 0.8572 GB, free: 4.059 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004061/0.7655, allocations: 91.39 kB / 0.8573 GB, free: 3.969 MB / 0.67 GB Notification: Performance of SimCode: time 7.62e-07/0.7655, allocations: 0 / 0.8573 GB, free: 3.969 MB / 0.67 GB Notification: Performance of Templates: time 0.2636/1.029, allocations: 20.58 MB / 0.8774 GB, free: 220.4 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)