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.00151/0.001511, allocations: 109.2 kB / 16.41 MB, free: 6.465 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: 189.5 kB / 17.35 MB, free: 5.711 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.337/1.337, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8051/0.8051, allocations: 135.1 MB / 426.4 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 68.14 kB / 0.5863 GB, free: 21.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1471, allocations: 80.91 MB / 0.6653 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.5676/0.7146, allocations: 214.2 MB / 0.8745 GB, free: 8.996 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01098/0.7257, allocations: 7.031 MB / 0.8813 GB, free: 1.949 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001576/0.7273, allocations: 39.75 kB / 0.8814 GB, free: 1.91 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002584/0.7299, allocations: 0.8077 MB / 0.8822 GB, free: 1.098 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.007211/0.7372, allocations: 2.62 MB / 0.8847 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003058/0.7402, allocations: 1.176 MB / 0.8859 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003831/0.7441, allocations: 2.829 MB / 0.8886 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001735/0.7458, allocations: 1.091 MB / 0.8897 GB, free: 9.363 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00552/0.7514, allocations: 2.055 MB / 0.8917 GB, free: 7.301 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002549/0.7539, allocations: 0.9338 MB / 0.8926 GB, free: 6.371 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0003294/0.7543, allocations: 120 kB / 0.8927 GB, free: 6.254 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005229/0.7595, allocations: 2.455 MB / 0.8951 GB, free: 3.793 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000557/0.7601, allocations: 426.7 kB / 0.8955 GB, free: 3.375 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.00142/0.7615, allocations: 0.6881 MB / 0.8962 GB, free: 2.684 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.005099/0.7666, allocations: 2.511 MB / 0.8986 GB, free: 168 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.7666, allocations: 0 / 0.8986 GB, free: 168 kB / 0.6544 GB Notification: Performance of FrontEnd: time 2.254e-06/0.7667, allocations: 0 / 0.8986 GB, free: 168 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.704e-05/0.7667, allocations: 0 / 0.8986 GB, free: 168 kB / 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.005153/0.7719, allocations: 1.904 MB / 0.9005 GB, free: 14.2 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.7719, allocations: 9.109 kB / 0.9005 GB, free: 14.19 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003205/0.7751, allocations: 0.5416 MB / 0.901 GB, free: 13.64 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002188/0.7774, allocations: 1.008 MB / 0.902 GB, free: 12.59 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.875e-05/0.7774, allocations: 63 kB / 0.9021 GB, free: 12.53 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000209/0.7777, allocations: 84 kB / 0.9022 GB, free: 12.45 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002799/0.7805, allocations: 1.229 MB / 0.9034 GB, free: 11.21 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.547e-05/0.7805, allocations: 0 / 0.9034 GB, free: 11.21 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001167/0.7806, allocations: 39.98 kB / 0.9034 GB, free: 11.17 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.02e-05/0.7807, allocations: 45.98 kB / 0.9035 GB, free: 11.13 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003621/0.7843, allocations: 1.53 MB / 0.9049 GB, free: 9.598 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.006826/0.7912, allocations: 4.05 MB / 0.9089 GB, free: 5.277 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002393/0.7936, allocations: 0.9701 MB / 0.9098 GB, free: 4.301 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001423/0.795, allocations: 0.6552 MB / 0.9105 GB, free: 3.641 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001104/0.7962, allocations: 0.6048 MB / 0.9111 GB, free: 2.926 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/0.7962, allocations: 43.22 kB / 0.9111 GB, free: 2.875 MB / 0.67 GB Notification: Performance of pre-optimization done (n=76): time 3.337e-06/0.7962, allocations: 0 / 0.9111 GB, free: 2.875 MB / 0.67 GB Notification: Performance of matching and sorting (n=76): time 0.004748/0.801, allocations: 1.789 MB / 0.9129 GB, free: 1.078 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.95e-05/0.801, allocations: 60.06 kB / 0.9129 GB, free: 1.008 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001124/0.8022, allocations: 0.8232 MB / 0.9137 GB, free: 164 kB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001023/0.8023, allocations: 37.7 kB / 0.9138 GB, free: 120 kB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003301/0.8026, allocations: 445.2 kB / 0.9142 GB, free: 15.67 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002232/0.8028, allocations: 277.5 kB / 0.9145 GB, free: 15.4 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002958/0.8031, allocations: 162.5 kB / 0.9146 GB, free: 15.24 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.8033, allocations: 338 kB / 0.9149 GB, free: 14.9 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001345/0.8046, allocations: 0.5277 MB / 0.9154 GB, free: 14.37 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001473/0.8061, allocations: 0.6559 MB / 0.9161 GB, free: 13.68 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002679/0.8088, allocations: 1.143 MB / 0.9172 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.8088, allocations: 0 / 0.9172 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00324/0.812, allocations: 1.349 MB / 0.9185 GB, free: 11.15 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 5.107e-05/0.8121, allocations: 37.7 kB / 0.9186 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.8121, allocations: 0 / 0.9186 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/0.8122, allocations: 4 kB / 0.9186 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001572/0.8137, allocations: 256.9 kB / 0.9188 GB, free: 10.86 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006832/0.8144, allocations: 1.188 MB / 0.92 GB, free: 9.621 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001134/0.8156, allocations: 151.5 kB / 0.9201 GB, free: 9.473 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.907e-05/0.8157, allocations: 31.98 kB / 0.9201 GB, free: 9.441 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001697/0.8174, allocations: 0.7556 MB / 0.9209 GB, free: 8.68 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001427/0.8188, allocations: 0.6519 MB / 0.9215 GB, free: 7.996 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002636/0.8215, allocations: 1.123 MB / 0.9226 GB, free: 6.855 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.948e-06/0.8215, allocations: 0.5469 kB / 0.9226 GB, free: 6.855 MB / 0.6856 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.0032/0.8247, allocations: 1.338 MB / 0.9239 GB, free: 5.504 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.623e-05/0.8248, allocations: 39.19 kB / 0.924 GB, free: 5.461 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.8248, allocations: 4.094 kB / 0.924 GB, free: 5.457 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.8248, allocations: 7.984 kB / 0.924 GB, free: 5.449 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/0.826, allocations: 231.8 kB / 0.9242 GB, free: 5.223 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.612e-05/0.8261, allocations: 5.016 kB / 0.9242 GB, free: 5.219 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001171/0.8272, allocations: 138.3 kB / 0.9243 GB, free: 5.086 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.596e-05/0.8273, allocations: 31.98 kB / 0.9244 GB, free: 5.055 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.000345/0.8277, allocations: 228.1 kB / 0.9246 GB, free: 4.824 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003223/0.828, allocations: 111.3 kB / 0.9247 GB, free: 4.715 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003432/0.8315, allocations: 1.351 MB / 0.926 GB, free: 3.355 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.292e-05/0.8315, allocations: 3.984 kB / 0.926 GB, free: 3.352 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.8315, allocations: 0 / 0.926 GB, free: 3.352 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006292/0.8321, allocations: 308.2 kB / 0.9263 GB, free: 3.031 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002177/0.8324, allocations: 16 kB / 0.9263 GB, free: 3.016 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001126/0.8335, allocations: 99.89 kB / 0.9264 GB, free: 2.918 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001459/0.8336, allocations: 48.58 kB / 0.9265 GB, free: 2.867 MB / 0.6856 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003769/0.8374, allocations: 1.365 MB / 0.9278 GB, free: 1.488 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005492/0.8429, allocations: 2.098 MB / 0.9298 GB, free: 15.38 MB / 0.7012 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001483/0.8444, allocations: 0.5634 MB / 0.9304 GB, free: 14.81 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0008956/0.8453, allocations: 0.5661 MB / 0.9309 GB, free: 14.23 MB / 0.7012 GB Notification: Performance of Backend: time 9.21e-07/0.8454, allocations: 0 / 0.9309 GB, free: 14.23 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.006004/0.8514, allocations: 2.041 MB / 0.9329 GB, free: 12.17 MB / 0.7012 GB Notification: Performance of SimCode: time 0.003932/0.8553, allocations: 2.306 MB / 0.9352 GB, free: 9.809 MB / 0.7012 GB Notification: Performance of Templates: time 0.04704/0.9024, allocations: 30.11 MB / 0.9646 GB, free: 11.89 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)