Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001095, allocations: 107.5 kB / 16.36 MB, free: 6.012 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.001246/0.001246, allocations: 199.5 kB / 17.3 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.371/1.371, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.824/1.824, allocations: 292.3 MB / 0.5496 GB, free: 17.45 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 67.91 kB / 0.6729 GB, free: 5.859 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2197/0.2212, allocations: 114.6 MB / 0.7848 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.6404/0.8616, allocations: 214.2 MB / 0.994 GB, free: 3.664 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01214/0.8738, allocations: 6.937 MB / 1.001 GB, free: 12.73 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00165/0.8755, allocations: 47.69 kB / 1.001 GB, free: 12.68 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.00217/0.8777, allocations: 0.796 MB / 1.002 GB, free: 11.88 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.006161/0.8839, allocations: 2.481 MB / 1.004 GB, free: 9.387 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002922/0.8868, allocations: 1.185 MB / 1.005 GB, free: 8.219 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.004657/0.8915, allocations: 2.778 MB / 1.008 GB, free: 5.434 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001528/0.893, allocations: 1.102 MB / 1.009 GB, free: 4.316 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003872/0.8969, allocations: 1.981 MB / 1.011 GB, free: 2.328 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00173/0.8987, allocations: 0.9405 MB / 1.012 GB, free: 1.398 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.000199/0.8989, allocations: 116 kB / 1.012 GB, free: 1.285 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00424/0.9031, allocations: 2.463 MB / 1.014 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0004029/0.9035, allocations: 418.7 kB / 1.015 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0007237/0.9043, allocations: 0.6843 MB / 1.015 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.003534/0.9078, allocations: 2.501 MB / 1.018 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.9078, allocations: 0 / 1.018 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.293e-06/0.9078, allocations: 0 / 1.018 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.898e-05/0.9079, allocations: 0 / 1.018 GB, free: 11.21 MB / 0.8106 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.004293/0.9122, allocations: 1.843 MB / 1.02 GB, free: 9.312 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.9122, allocations: 12.03 kB / 1.02 GB, free: 9.301 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003174/0.9154, allocations: 0.5524 MB / 1.02 GB, free: 8.746 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001899/0.9173, allocations: 0.9408 MB / 1.021 GB, free: 7.762 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006372/0.918, allocations: 177.9 kB / 1.021 GB, free: 7.586 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001588/0.9181, allocations: 95.92 kB / 1.021 GB, free: 7.492 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002701/0.9208, allocations: 1.229 MB / 1.023 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.022e-05/0.9209, allocations: 0 / 1.023 GB, free: 6.258 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001038/0.921, allocations: 35.98 kB / 1.023 GB, free: 6.223 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.642e-05/0.921, allocations: 53.92 kB / 1.023 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003577/0.9246, allocations: 1.546 MB / 1.024 GB, free: 4.621 MB / 0.8106 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.00622/0.9309, allocations: 4.049 MB / 1.028 GB, free: 308 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002505/0.9334, allocations: 0.9972 MB / 1.029 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001495/0.9349, allocations: 0.6707 MB / 1.03 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001135/0.936, allocations: 0.6087 MB / 1.03 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/0.9361, allocations: 39.22 kB / 1.03 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=76): time 2.405e-06/0.9361, allocations: 0 / 1.03 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of matching and sorting (n=76): time 0.004772/0.9409, allocations: 1.812 MB / 1.032 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.375e-05/0.9409, allocations: 60.06 kB / 1.032 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/0.9419, allocations: 0.8194 MB / 1.033 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0001023/0.9421, allocations: 41.7 kB / 1.033 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003208/0.9424, allocations: 444.5 kB / 1.033 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002147/0.9426, allocations: 256.1 kB / 1.034 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002925/0.9429, allocations: 162.5 kB / 1.034 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.943, allocations: 341.9 kB / 1.034 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001365/0.9444, allocations: 0.5434 MB / 1.035 GB, free: 9.324 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001454/0.9459, allocations: 0.6559 MB / 1.035 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00269/0.9486, allocations: 1.151 MB / 1.036 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.9486, allocations: 4 kB / 1.036 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003265/0.9518, allocations: 1.364 MB / 1.038 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.283e-05/0.9519, allocations: 33.7 kB / 1.038 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.9519, allocations: 4 kB / 1.038 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.9519, allocations: 4 kB / 1.038 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001549/0.9535, allocations: 262.4 kB / 1.038 GB, free: 5.777 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006417/0.9542, allocations: 1.196 MB / 1.039 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001125/0.9553, allocations: 155.2 kB / 1.039 GB, free: 4.387 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.517e-05/0.9554, allocations: 35.97 kB / 1.039 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001692/0.9571, allocations: 0.7634 MB / 1.04 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00143/0.9585, allocations: 0.6637 MB / 1.041 GB, free: 2.887 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002669/0.9612, allocations: 1.135 MB / 1.042 GB, free: 1.727 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.1e-06/0.9612, allocations: 2.266 kB / 1.042 GB, free: 1.727 MB / 0.8262 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.003235/0.9645, allocations: 1.36 MB / 1.043 GB, free: 360 kB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.874e-05/0.9645, allocations: 37.7 kB / 1.043 GB, free: 316 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.9645, allocations: 4.062 kB / 1.043 GB, free: 312 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.895e-06/0.9645, allocations: 4 kB / 1.043 GB, free: 308 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001204/0.9658, allocations: 231.7 kB / 1.044 GB, free: 76 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/0.9658, allocations: 11.92 kB / 1.044 GB, free: 64 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001091/0.9669, allocations: 136.7 kB / 1.044 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.864e-05/0.967, allocations: 31.98 kB / 1.044 GB, free: 15.9 MB / 0.8419 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.0002965/0.9673, allocations: 220.1 kB / 1.044 GB, free: 15.67 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000179/0.9675, allocations: 106.8 kB / 1.044 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003297/0.9708, allocations: 1.368 MB / 1.045 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.9708, allocations: 4 kB / 1.045 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.285e-06/0.9708, allocations: 4 kB / 1.045 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.9708, allocations: 3.984 kB / 1.045 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005417/0.9762, allocations: 2.847 MB / 1.048 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/0.9763, allocations: 4 kB / 1.048 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001224/0.9775, allocations: 240.2 kB / 1.048 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.067e-05/0.9775, allocations: 12 kB / 1.048 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.176e-05/0.9776, allocations: 23.98 kB / 1.048 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000576/0.9782, allocations: 1.195 MB / 1.05 GB, free: 9.711 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.9782, allocations: 8 kB / 1.05 GB, free: 9.703 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003089/0.9813, allocations: 1.459 MB / 1.051 GB, free: 8.184 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005422/0.9818, allocations: 315.4 kB / 1.051 GB, free: 7.855 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001295/0.982, allocations: 19.94 kB / 1.051 GB, free: 7.836 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001105/0.9831, allocations: 111.9 kB / 1.051 GB, free: 7.727 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001597/0.9832, allocations: 66.5 kB / 1.052 GB, free: 7.664 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.275e-05/0.9833, allocations: 35.97 kB / 1.052 GB, free: 7.629 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0007195/0.984, allocations: 0.57 MB / 1.052 GB, free: 7.047 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9841, allocations: 0 / 1.052 GB, free: 7.047 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001308/0.9854, allocations: 0.5302 MB / 1.053 GB, free: 6.516 MB / 0.8419 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.0005515/0.9859, allocations: 266.2 kB / 1.053 GB, free: 6.262 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.005094/0.991, allocations: 2.057 MB / 1.055 GB, free: 4.184 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.72e-06/0.9911, allocations: 0 / 1.055 GB, free: 4.184 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001649/0.9927, allocations: 0.6675 MB / 1.056 GB, free: 3.52 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002407/0.9951, allocations: 0.5006 MB / 1.056 GB, free: 3.062 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004633/0.9998, allocations: 2.083 MB / 1.058 GB, free: 0.9062 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007618/1.001, allocations: 1.091 MB / 1.059 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001437/1.002, allocations: 393 kB / 1.06 GB, free: 15.4 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003459/1.002, allocations: 87.41 kB / 1.06 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of SimCode: time 3.516e-06/1.002, allocations: 0 / 1.06 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of Templates: time 0.03376/1.036, allocations: 20.84 MB / 1.08 GB, free: 10.86 MB / 0.8731 GB make -j1 -f Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (rm -f Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)