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.001142/0.001141, 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.001261/0.001261, allocations: 191.1 kB / 16.25 MB, free: 6.582 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.485/1.485, allocations: 205.1 MB / 222.1 MB, free: 4.676 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.552/1.552, allocations: 251.6 MB / 0.5089 GB, free: 3.328 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.001495/0.001495, allocations: 67.91 kB / 0.6217 GB, free: 1.895 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6449/0.6464, allocations: 104.7 MB / 0.724 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.8015/1.448, allocations: 211.8 MB / 0.9308 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01525/1.463, allocations: 7.038 MB / 0.9377 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003242/1.467, allocations: 40.5 kB / 0.9378 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.003075/1.47, allocations: 0.695 MB / 0.9384 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.009453/1.479, allocations: 2.489 MB / 0.9409 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004585/1.484, allocations: 1.074 MB / 0.9419 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.005688/1.49, allocations: 2.809 MB / 0.9447 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002067/1.492, allocations: 1.06 MB / 0.9457 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005956/1.498, allocations: 1.837 MB / 0.9475 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002813/1.5, allocations: 1.04 MB / 0.9485 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003168/1.501, allocations: 118.8 kB / 0.9486 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005349/1.506, allocations: 2.568 MB / 0.9511 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005726/1.507, allocations: 429.1 kB / 0.9515 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001174/1.508, allocations: 0.69 MB / 0.9522 GB, free: 1.398 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004673/1.513, allocations: 2.622 MB / 0.9548 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/1.513, allocations: 0.8125 kB / 0.9548 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.324e-06/1.513, allocations: 0 / 0.9548 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.391e-05/1.513, allocations: 0.5625 kB / 0.9548 GB, free: 1.102 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.004945/1.518, allocations: 1.846 MB / 0.9566 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/1.518, allocations: 13.47 kB / 0.9566 GB, free: 16.18 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003095/1.521, allocations: 0.5347 MB / 0.9571 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001879/1.523, allocations: 0.9529 MB / 0.958 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006048/1.523, allocations: 181.6 kB / 0.9582 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001746/1.523, allocations: 82.22 kB / 0.9583 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002648/1.526, allocations: 1.235 MB / 0.9595 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.54e-05/1.526, allocations: 2.906 kB / 0.9595 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001165/1.526, allocations: 40.69 kB / 0.9595 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-05/1.526, allocations: 42.33 kB / 0.9596 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003462/1.53, allocations: 1.548 MB / 0.9611 GB, free: 15.7 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.007087/1.537, allocations: 4.058 MB / 0.9651 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002454/1.539, allocations: 0.9985 MB / 0.966 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001413/1.541, allocations: 0.6666 MB / 0.9667 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001114/1.542, allocations: 0.6049 MB / 0.9673 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.723e-05/1.542, allocations: 41.45 kB / 0.9673 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=76): time 3.556e-06/1.542, allocations: 1.812 kB / 0.9673 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of matching and sorting (n=76): time 0.004727/1.547, allocations: 1.813 MB / 0.9691 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.602e-05/1.547, allocations: 62.94 kB / 0.9691 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00132/1.548, allocations: 0.8226 MB / 0.9699 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001914/1.548, allocations: 41.23 kB / 0.97 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004119/1.549, allocations: 439.1 kB / 0.9704 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003408/1.549, allocations: 264.1 kB / 0.9707 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003576/1.55, allocations: 156.4 kB / 0.9708 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001585/1.55, allocations: 336.7 kB / 0.9711 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001489/1.551, allocations: 0.5458 MB / 0.9717 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001633/1.553, allocations: 0.669 MB / 0.9723 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002775/1.556, allocations: 1.145 MB / 0.9734 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/1.556, allocations: 4 kB / 0.9734 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00362/1.559, allocations: 1.362 MB / 0.9748 GB, free: 12 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.574e-05/1.559, allocations: 36.39 kB / 0.9748 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.708e-06/1.559, allocations: 0 / 0.9748 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/1.559, allocations: 5.031 kB / 0.9748 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001571/1.561, allocations: 270 kB / 0.9751 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007326/1.562, allocations: 1.191 MB / 0.9762 GB, free: 10.78 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001627/1.563, allocations: 181.9 kB / 0.9764 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001/1.563, allocations: 36.41 kB / 0.9764 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001957/1.565, allocations: 0.7641 MB / 0.9772 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001482/1.567, allocations: 0.6627 MB / 0.9778 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002589/1.57, allocations: 1.14 MB / 0.9789 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.336e-06/1.57, allocations: 0 / 0.9789 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of matching and sorting (n=87) (initialization_lambda0): time 0.004037/1.574, allocations: 1.351 MB / 0.9803 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.666e-05/1.574, allocations: 41.78 kB / 0.9803 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/1.574, allocations: 2.781 kB / 0.9803 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/1.574, allocations: 5.094 kB / 0.9803 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001258/1.575, allocations: 231.5 kB / 0.9805 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.339e-05/1.575, allocations: 5.062 kB / 0.9805 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001699/1.577, allocations: 169.8 kB / 0.9807 GB, free: 10.19 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001058/1.577, allocations: 37.38 kB / 0.9807 GB, free: 10.19 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.0004881/1.577, allocations: 218.4 kB / 0.9809 GB, free: 10.01 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003208/1.578, allocations: 106.6 kB / 0.981 GB, free: 9.957 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003919/1.582, allocations: 1.366 MB / 0.9824 GB, free: 9.852 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.378e-06/1.582, allocations: 7.062 kB / 0.9824 GB, free: 9.852 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.807e-06/1.582, allocations: 0 / 0.9824 GB, free: 9.852 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.408e-05/1.582, allocations: 9.609 kB / 0.9824 GB, free: 9.848 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005547/1.587, allocations: 2.858 MB / 0.9852 GB, free: 9.074 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.266e-06/1.587, allocations: 2.406 kB / 0.9852 GB, free: 9.074 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001274/1.589, allocations: 248.4 kB / 0.9854 GB, free: 9.047 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.128e-05/1.589, allocations: 8.188 kB / 0.9854 GB, free: 9.047 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-05/1.589, allocations: 23.08 kB / 0.9854 GB, free: 9.039 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006443/1.589, allocations: 1.196 MB / 0.9866 GB, free: 7.844 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/1.589, allocations: 2.969 kB / 0.9866 GB, free: 7.844 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003379/1.593, allocations: 1.465 MB / 0.9881 GB, free: 7.176 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006961/1.593, allocations: 312.3 kB / 0.9883 GB, free: 6.957 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001529/1.594, allocations: 14 kB / 0.9884 GB, free: 6.949 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001232/1.595, allocations: 150.8 kB / 0.9885 GB, free: 6.918 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001476/1.595, allocations: 58.27 kB / 0.9886 GB, free: 6.91 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-05/1.595, allocations: 32 kB / 0.9886 GB, free: 6.906 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007934/1.596, allocations: 0.5761 MB / 0.9892 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.8e-07/1.596, allocations: 0 / 0.9892 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00164/1.597, allocations: 0.5354 MB / 0.9897 GB, free: 6.477 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.0006741/1.598, allocations: 270.9 kB / 0.9899 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005481/1.604, allocations: 2.149 MB / 0.992 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.074e-05/1.604, allocations: 6.812 kB / 0.992 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001693/1.605, allocations: 0.6689 MB / 0.9927 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002661/1.608, allocations: 499.4 kB / 0.9932 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004538/1.613, allocations: 2.481 MB / 0.9956 GB, free: 3.09 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006494/1.613, allocations: 1.103 MB / 0.9967 GB, free: 2.152 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001829/1.615, allocations: 387.5 kB / 0.997 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003205/1.615, allocations: 87.41 kB / 0.9971 GB, free: 1.684 MB / 0.7325 GB Notification: Performance of SimCode: time 8.61e-07/1.615, allocations: 0 / 0.9971 GB, free: 1.684 MB / 0.7325 GB Notification: Performance of Templates: time 0.03524/1.651, allocations: 20.59 MB / 1.017 GB, free: 13.45 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)