Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001063/0.001063, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001241/0.001241, allocations: 193.4 kB / 16.14 MB, free: 6.703 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.493/1.493, allocations: 205.1 MB / 222 MB, free: 4.938 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.596/1.596, allocations: 251.6 MB / 0.5088 GB, free: 3.371 MB / 414.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.001513/0.001513, allocations: 59.92 kB / 0.6216 GB, free: 2.02 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6387/0.6402, allocations: 104.7 MB / 0.7238 GB, free: 13.18 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.8857/1.526, allocations: 212.3 MB / 0.9312 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01241/1.538, allocations: 7.178 MB / 0.9382 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002665/1.541, allocations: 40.38 kB / 0.9382 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002349/1.544, allocations: 0.6508 MB / 0.9389 GB, free: 1.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00758/1.551, allocations: 2.497 MB / 0.9413 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003543/1.555, allocations: 1.048 MB / 0.9423 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.005258/1.56, allocations: 3.727 MB / 0.946 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001613/1.562, allocations: 0.914 MB / 0.9468 GB, free: 1.281 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004347/1.566, allocations: 1.653 MB / 0.9485 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002568/1.569, allocations: 1.004 MB / 0.9494 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002471/1.569, allocations: 58.88 kB / 0.9495 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005523/1.574, allocations: 2.816 MB / 0.9522 GB, free: 1.215 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005725/1.575, allocations: 366.8 kB / 0.9526 GB, free: 1.211 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.00119/1.576, allocations: 0.629 MB / 0.9532 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004437/1.581, allocations: 2.566 MB / 0.9557 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/1.581, allocations: 2.125 kB / 0.9557 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.202e-06/1.581, allocations: 0 / 0.9557 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.859e-05/1.581, allocations: 3.938 kB / 0.9557 GB, free: 0.8945 MB / 0.7169 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.004518/1.585, allocations: 1.85 MB / 0.9575 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/1.585, allocations: 7.375 kB / 0.9575 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003041/1.588, allocations: 0.5345 MB / 0.9581 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001711/1.59, allocations: 0.9572 MB / 0.959 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005833/1.591, allocations: 179.1 kB / 0.9592 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001428/1.591, allocations: 82.94 kB / 0.9592 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002489/1.593, allocations: 1.234 MB / 0.9604 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/1.593, allocations: 0 / 0.9604 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001/1.593, allocations: 32.12 kB / 0.9605 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.257e-05/1.594, allocations: 50.77 kB / 0.9605 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003356/1.597, allocations: 1.548 MB / 0.962 GB, free: 15.41 MB / 0.7325 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.00706/1.604, allocations: 4.06 MB / 0.966 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002619/1.607, allocations: 0.9938 MB / 0.967 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001452/1.608, allocations: 0.6619 MB / 0.9676 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001163/1.609, allocations: 0.6113 MB / 0.9682 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.867e-05/1.609, allocations: 44.41 kB / 0.9683 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=76): time 4.128e-06/1.609, allocations: 0 / 0.9683 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of matching and sorting (n=76): time 0.005694/1.615, allocations: 1.812 MB / 0.97 GB, free: 12.96 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.944e-05/1.615, allocations: 60.38 kB / 0.9701 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001551/1.617, allocations: 0.8115 MB / 0.9709 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002057/1.617, allocations: 51.67 kB / 0.9709 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005341/1.617, allocations: 436.8 kB / 0.9713 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003609/1.618, allocations: 268.7 kB / 0.9716 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003556/1.618, allocations: 155.8 kB / 0.9718 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000206/1.618, allocations: 336.6 kB / 0.9721 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001454/1.62, allocations: 0.5407 MB / 0.9726 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001454/1.621, allocations: 0.6671 MB / 0.9733 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002591/1.624, allocations: 1.151 MB / 0.9744 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/1.624, allocations: 0 / 0.9744 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003143/1.627, allocations: 1.359 MB / 0.9757 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.273e-05/1.627, allocations: 37.86 kB / 0.9757 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/1.627, allocations: 0 / 0.9757 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/1.627, allocations: 9.469 kB / 0.9757 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001472/1.629, allocations: 261.1 kB / 0.976 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007083/1.629, allocations: 1.197 MB / 0.9772 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001337/1.631, allocations: 183.8 kB / 0.9773 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.647e-05/1.631, allocations: 36.64 kB / 0.9774 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001611/1.633, allocations: 0.7673 MB / 0.9781 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001318/1.634, allocations: 0.6545 MB / 0.9788 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002491/1.636, allocations: 1.145 MB / 0.9799 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.656e-06/1.636, allocations: 0 / 0.9799 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.003324/1.64, allocations: 1.351 MB / 0.9812 GB, free: 9.922 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.391e-05/1.64, allocations: 40.22 kB / 0.9812 GB, free: 9.887 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/1.64, allocations: 1.844 kB / 0.9812 GB, free: 9.887 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.658e-06/1.64, allocations: 3.656 kB / 0.9812 GB, free: 9.887 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00117/1.641, allocations: 238.6 kB / 0.9815 GB, free: 9.879 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/1.641, allocations: 6.828 kB / 0.9815 GB, free: 9.875 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001285/1.642, allocations: 167.9 kB / 0.9816 GB, free: 9.836 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.409e-05/1.642, allocations: 36.7 kB / 0.9817 GB, free: 9.836 MB / 0.7325 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.0003848/1.643, allocations: 226.2 kB / 0.9819 GB, free: 9.648 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000195/1.643, allocations: 107.8 kB / 0.982 GB, free: 9.594 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00316/1.646, allocations: 1.362 MB / 0.9833 GB, free: 9.301 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.246e-06/1.646, allocations: 8.094 kB / 0.9833 GB, free: 9.301 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/1.646, allocations: 0 / 0.9833 GB, free: 9.301 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/1.646, allocations: 10.52 kB / 0.9833 GB, free: 9.293 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005301/1.651, allocations: 2.861 MB / 0.9861 GB, free: 8.156 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/1.651, allocations: 2.562 kB / 0.9861 GB, free: 8.156 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001159/1.653, allocations: 235.5 kB / 0.9864 GB, free: 8.094 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.168e-05/1.653, allocations: 5.469 kB / 0.9864 GB, free: 8.094 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-05/1.653, allocations: 22.52 kB / 0.9864 GB, free: 8.082 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006333/1.653, allocations: 1.2 MB / 0.9876 GB, free: 6.875 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.309e-06/1.653, allocations: 5.469 kB / 0.9876 GB, free: 6.875 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003213/1.657, allocations: 1.463 MB / 0.989 GB, free: 6.012 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006207/1.657, allocations: 316.8 kB / 0.9893 GB, free: 5.746 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001527/1.657, allocations: 13.44 kB / 0.9893 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001209/1.659, allocations: 138.9 kB / 0.9894 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001496/1.659, allocations: 62.55 kB / 0.9895 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.94e-05/1.659, allocations: 33.84 kB / 0.9895 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007869/1.66, allocations: 0.575 MB / 0.9901 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/1.66, allocations: 7.875 kB / 0.9901 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001495/1.661, allocations: 0.5266 MB / 0.9906 GB, free: 5.191 MB / 0.7325 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.0006042/1.662, allocations: 272.3 kB / 0.9909 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005029/1.667, allocations: 2.036 MB / 0.9929 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.297e-06/1.667, allocations: 0 / 0.9929 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001775/1.669, allocations: 0.6757 MB / 0.9935 GB, free: 3.773 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002977/1.672, allocations: 0.5097 MB / 0.994 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004854/1.677, allocations: 2.482 MB / 0.9964 GB, free: 1.297 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007579/1.677, allocations: 1.098 MB / 0.9975 GB, free: 176 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001787/1.679, allocations: 391.6 kB / 0.9979 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003269/1.679, allocations: 87.34 kB / 0.998 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of SimCode: time 1.252e-06/1.679, allocations: 4 kB / 0.998 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of Templates: time 0.03266/1.712, allocations: 20.13 MB / 1.018 GB, free: 11.91 MB / 0.7637 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)