Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001565/0.001565, allocations: 106.5 kB / 16.41 MB, free: 6.488 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.001693/0.001694, allocations: 187 kB / 17.34 MB, free: 5.73 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.411/1.411, 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/package.mo): time 0.7908/0.7908, allocations: 132.2 MB / 423.4 MB, free: 6.559 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.00139, allocations: 61.97 kB / 0.582 GB, free: 23.85 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.1658, allocations: 80.22 MB / 0.6603 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.6535/0.8193, allocations: 214.2 MB / 0.8695 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01114/0.8305, allocations: 7.037 MB / 0.8763 GB, free: 8.629 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001657/0.8322, allocations: 43.75 kB / 0.8764 GB, free: 8.586 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002061/0.8343, allocations: 0.8077 MB / 0.8772 GB, free: 7.773 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006329/0.8407, allocations: 2.61 MB / 0.8797 GB, free: 5.152 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002982/0.8436, allocations: 1.181 MB / 0.8809 GB, free: 3.988 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003668/0.8473, allocations: 2.825 MB / 0.8836 GB, free: 1.156 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001547/0.8489, allocations: 1.088 MB / 0.8847 GB, free: 56 kB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004312/0.8532, allocations: 2.047 MB / 0.8867 GB, free: 14 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002072/0.8553, allocations: 0.9363 MB / 0.8876 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0003379/0.8557, allocations: 120 kB / 0.8877 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004671/0.8603, allocations: 2.455 MB / 0.8901 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0005793/0.8609, allocations: 426.7 kB / 0.8905 GB, free: 10.07 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001138/0.8621, allocations: 0.6804 MB / 0.8912 GB, free: 9.387 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004983/0.8671, allocations: 2.505 MB / 0.8936 GB, free: 6.875 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.8671, allocations: 0 / 0.8936 GB, free: 6.875 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.994e-06/0.8671, allocations: 7.938 kB / 0.8937 GB, free: 6.867 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.349e-05/0.8672, allocations: 0 / 0.8937 GB, free: 6.867 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.004992/0.8721, allocations: 1.847 MB / 0.8955 GB, free: 4.961 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.8722, allocations: 12.03 kB / 0.8955 GB, free: 4.949 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003255/0.8755, allocations: 0.5253 MB / 0.896 GB, free: 4.422 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00194/0.8774, allocations: 1.011 MB / 0.897 GB, free: 3.367 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.643e-05/0.8775, allocations: 69.98 kB / 0.897 GB, free: 3.297 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001596/0.8777, allocations: 83.94 kB / 0.8971 GB, free: 3.215 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002831/0.8805, allocations: 1.229 MB / 0.8983 GB, free: 1.977 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.972e-05/0.8806, allocations: 0 / 0.8983 GB, free: 1.977 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/0.8807, allocations: 33.12 kB / 0.8983 GB, free: 1.945 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-05/0.8808, allocations: 49.97 kB / 0.8984 GB, free: 1.898 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003772/0.8845, allocations: 1.53 MB / 0.8999 GB, free: 376 kB / 0.6544 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.007017/0.8916, allocations: 4.048 MB / 0.9038 GB, free: 12.04 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002586/0.8942, allocations: 0.9671 MB / 0.9048 GB, free: 11.07 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001562/0.8958, allocations: 0.6552 MB / 0.9054 GB, free: 10.41 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001154/0.8969, allocations: 0.6087 MB / 0.906 GB, free: 9.691 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.353e-05/0.897, allocations: 43.72 kB / 0.9061 GB, free: 9.641 MB / 0.67 GB Notification: Performance of pre-optimization done (n=76): time 2.575e-06/0.897, allocations: 0 / 0.9061 GB, free: 9.641 MB / 0.67 GB Notification: Performance of matching and sorting (n=76): time 0.005161/0.9022, allocations: 1.781 MB / 0.9078 GB, free: 7.852 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.245e-05/0.9022, allocations: 60.06 kB / 0.9079 GB, free: 7.781 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001237/0.9035, allocations: 0.8232 MB / 0.9087 GB, free: 6.934 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001444/0.9036, allocations: 41.7 kB / 0.9087 GB, free: 6.887 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003594/0.904, allocations: 444.5 kB / 0.9091 GB, free: 6.445 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002529/0.9043, allocations: 268.1 kB / 0.9094 GB, free: 6.18 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003012/0.9046, allocations: 150.5 kB / 0.9095 GB, free: 6.023 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.9047, allocations: 337.9 kB / 0.9098 GB, free: 5.688 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001478/0.9062, allocations: 0.5317 MB / 0.9104 GB, free: 5.152 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001591/0.9078, allocations: 0.6588 MB / 0.911 GB, free: 4.461 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002988/0.9108, allocations: 1.135 MB / 0.9121 GB, free: 3.301 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.9109, allocations: 4 kB / 0.9121 GB, free: 3.297 MB / 0.67 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003639/0.9145, allocations: 1.337 MB / 0.9134 GB, free: 1.945 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 6.139e-05/0.9146, allocations: 33.69 kB / 0.9135 GB, free: 1.906 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.9146, allocations: 4 kB / 0.9135 GB, free: 1.902 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.437e-05/0.9146, allocations: 4 kB / 0.9135 GB, free: 1.898 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001615/0.9163, allocations: 264.4 kB / 0.9137 GB, free: 1.641 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008048/0.9171, allocations: 1.189 MB / 0.9149 GB, free: 416 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001252/0.9183, allocations: 151.2 kB / 0.915 GB, free: 264 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001044/0.9185, allocations: 35.97 kB / 0.9151 GB, free: 228 kB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001917/0.9204, allocations: 0.7555 MB / 0.9158 GB, free: 15.46 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00163/0.922, allocations: 0.652 MB / 0.9164 GB, free: 14.78 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002942/0.925, allocations: 1.12 MB / 0.9175 GB, free: 13.64 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.761e-06/0.925, allocations: 0 / 0.9175 GB, free: 13.64 MB / 0.6856 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.003516/0.9285, allocations: 1.337 MB / 0.9188 GB, free: 12.29 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.936e-05/0.9286, allocations: 43.66 kB / 0.9189 GB, free: 12.24 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.9286, allocations: 4 kB / 0.9189 GB, free: 12.24 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.789e-06/0.9286, allocations: 4.062 kB / 0.9189 GB, free: 12.23 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001281/0.9299, allocations: 235.6 kB / 0.9191 GB, free: 12 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.729e-05/0.9299, allocations: 4 kB / 0.9191 GB, free: 12 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001238/0.9312, allocations: 127.4 kB / 0.9192 GB, free: 11.88 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.372e-05/0.9313, allocations: 31.98 kB / 0.9193 GB, free: 11.84 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.0003248/0.9316, allocations: 224.1 kB / 0.9195 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002871/0.9319, allocations: 110.6 kB / 0.9196 GB, free: 11.51 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003637/0.9356, allocations: 1.351 MB / 0.9209 GB, free: 10.14 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.075e-05/0.9356, allocations: 8 kB / 0.9209 GB, free: 10.14 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.9356, allocations: 0 / 0.9209 GB, free: 10.14 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.9356, allocations: 3.984 kB / 0.9209 GB, free: 10.13 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005839/0.9415, allocations: 2.836 MB / 0.9237 GB, free: 7.195 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/0.9415, allocations: 0 / 0.9237 GB, free: 7.195 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001284/0.9428, allocations: 228.1 kB / 0.9239 GB, free: 6.973 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-05/0.9428, allocations: 12 kB / 0.9239 GB, free: 6.961 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-05/0.9429, allocations: 23.97 kB / 0.9239 GB, free: 6.938 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006965/0.9436, allocations: 1.191 MB / 0.9251 GB, free: 5.699 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/0.9436, allocations: 7.938 kB / 0.9251 GB, free: 5.691 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003465/0.9471, allocations: 1.455 MB / 0.9265 GB, free: 4.172 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006042/0.9477, allocations: 303.5 kB / 0.9268 GB, free: 3.855 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002155/0.9479, allocations: 19.98 kB / 0.9268 GB, free: 3.836 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001233/0.9492, allocations: 111.8 kB / 0.9269 GB, free: 3.727 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001577/0.9494, allocations: 60.42 kB / 0.927 GB, free: 3.664 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.035e-05/0.9495, allocations: 39.97 kB / 0.927 GB, free: 3.625 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0008769/0.9503, allocations: 0.5661 MB / 0.9276 GB, free: 3.047 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.41e-07/0.9503, allocations: 0 / 0.9276 GB, free: 3.047 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001536/0.9519, allocations: 0.5341 MB / 0.9281 GB, free: 2.512 MB / 0.6856 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.0006664/0.9526, allocations: 275.8 kB / 0.9284 GB, free: 2.254 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.005625/0.9582, allocations: 2.022 MB / 0.9304 GB, free: 212 kB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.044e-05/0.9582, allocations: 8.062 kB / 0.9304 GB, free: 204 kB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001895/0.9601, allocations: 0.6519 MB / 0.931 GB, free: 15.55 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002879/0.963, allocations: 0.4907 MB / 0.9315 GB, free: 15.07 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005021/0.9681, allocations: 2.131 MB / 0.9336 GB, free: 12.87 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007899/0.9689, allocations: 1.091 MB / 0.9346 GB, free: 11.75 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005124/0.9694, allocations: 103.4 kB / 0.9347 GB, free: 11.64 MB / 0.7012 GB Notification: Performance of SimCode: time 8.31e-07/0.9694, allocations: 0 / 0.9347 GB, free: 11.64 MB / 0.7012 GB Notification: Performance of Templates: time 0.03451/1.004, allocations: 26.82 MB / 0.9609 GB, free: 0.9414 MB / 0.7169 GB make -j1 -f IDEAS_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (rm -f IDEAS_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo IDEAS_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/IDEAS_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./IDEAS_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)