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.0008054/0.0008053, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005569/0.005569, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.586/1.586, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.616/1.616, allocations: 252 MB / 0.5105 GB, free: 4.629 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.0006328/0.0006328, allocations: 16.56 kB / 0.6249 GB, free: 0.7656 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5459/0.5465, allocations: 106.3 MB / 0.7287 GB, free: 11.57 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.7582/1.305, allocations: 209.5 MB / 0.9333 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01524/1.32, allocations: 7.109 MB / 0.9403 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002503/1.323, allocations: 36.28 kB / 0.9403 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002494/1.325, allocations: 0.6504 MB / 0.9409 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.008045/1.333, allocations: 2.491 MB / 0.9434 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003397/1.337, allocations: 1.054 MB / 0.9444 GB, free: 1.578 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.005077/1.342, allocations: 3.733 MB / 0.948 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00186/1.344, allocations: 0.885 MB / 0.9489 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004017/1.348, allocations: 1.622 MB / 0.9505 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002857/1.351, allocations: 0.9612 MB / 0.9514 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.00037/1.351, allocations: 45.97 kB / 0.9515 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006251/1.357, allocations: 2.799 MB / 0.9542 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0008582/1.358, allocations: 347.3 kB / 0.9545 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001904/1.36, allocations: 0.6241 MB / 0.9551 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.006659/1.367, allocations: 2.523 MB / 0.9576 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/1.367, allocations: 7.234 kB / 0.9576 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.445e-06/1.367, allocations: 2.656 kB / 0.9576 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.7e-05/1.367, allocations: 0 / 0.9576 GB, free: 1.188 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.005808/1.373, allocations: 1.591 MB / 0.9592 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/1.373, allocations: 11.94 kB / 0.9592 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003457/1.376, allocations: 0.5864 MB / 0.9598 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002634/1.379, allocations: 0.9612 MB / 0.9607 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000657/1.379, allocations: 196.7 kB / 0.9609 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003054/1.38, allocations: 81.34 kB / 0.961 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003125/1.383, allocations: 1.267 MB / 0.9622 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.495e-05/1.383, allocations: 2.906 kB / 0.9622 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001254/1.383, allocations: 40.83 kB / 0.9622 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.083e-05/1.383, allocations: 44.03 kB / 0.9623 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003919/1.387, allocations: 1.622 MB / 0.9639 GB, free: 15.73 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.008198/1.395, allocations: 4.105 MB / 0.9679 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002591/1.398, allocations: 1.048 MB / 0.9689 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001549/1.399, allocations: 0.6975 MB / 0.9696 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00121/1.401, allocations: 0.6353 MB / 0.9702 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.446e-05/1.401, allocations: 44.44 kB / 0.9702 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=76): time 3.146e-06/1.401, allocations: 0 / 0.9702 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of matching and sorting (n=76): time 0.005073/1.406, allocations: 1.923 MB / 0.9721 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/1.406, allocations: 59 kB / 0.9722 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001323/1.407, allocations: 0.817 MB / 0.973 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001689/1.407, allocations: 41.7 kB / 0.973 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004531/1.408, allocations: 444.2 kB / 0.9734 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002691/1.408, allocations: 263.2 kB / 0.9737 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001366/1.408, allocations: 64.62 kB / 0.9737 GB, free: 12.65 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001266/1.408, allocations: 336.3 kB / 0.9741 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001506/1.41, allocations: 0.5653 MB / 0.9746 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001563/1.412, allocations: 0.7031 MB / 0.9753 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002949/1.415, allocations: 1.222 MB / 0.9765 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/1.415, allocations: 0 / 0.9765 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003704/1.418, allocations: 1.424 MB / 0.9779 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001451/1.418, allocations: 156 kB / 0.978 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/1.418, allocations: 2.906 kB / 0.978 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.484e-05/1.418, allocations: 3.156 kB / 0.978 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0016/1.42, allocations: 283.2 kB / 0.9783 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000871/1.421, allocations: 1.199 MB / 0.9795 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001566/1.423, allocations: 195.8 kB / 0.9797 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001171/1.423, allocations: 38.25 kB / 0.9797 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/1.423, allocations: 5.938 kB / 0.9797 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003454/1.426, allocations: 1.321 MB / 0.981 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/1.426, allocations: 8 kB / 0.981 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/1.426, allocations: 5.094 kB / 0.981 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001249/1.427, allocations: 252.8 kB / 0.9813 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.755e-05/1.428, allocations: 5.094 kB / 0.9813 GB, free: 10.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001529/1.429, allocations: 202.8 kB / 0.9815 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001121/1.429, allocations: 36.16 kB / 0.9815 GB, free: 10.31 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.0007881/1.43, allocations: 370 kB / 0.9818 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003474/1.43, allocations: 108 kB / 0.9819 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003728/1.434, allocations: 1.442 MB / 0.9834 GB, free: 9.684 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/1.434, allocations: 10.3 kB / 0.9834 GB, free: 9.68 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/1.434, allocations: 0 / 0.9834 GB, free: 9.68 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/1.434, allocations: 3.984 kB / 0.9834 GB, free: 9.676 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006523/1.441, allocations: 2.924 MB / 0.9862 GB, free: 8.605 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.356e-05/1.441, allocations: 8.344 kB / 0.9862 GB, free: 8.602 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001354/1.442, allocations: 248.1 kB / 0.9865 GB, free: 8.547 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-05/1.442, allocations: 10.38 kB / 0.9865 GB, free: 8.543 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.63e-05/1.442, allocations: 22.92 kB / 0.9865 GB, free: 8.539 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006216/1.443, allocations: 1.191 MB / 0.9877 GB, free: 7.359 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.824e-06/1.443, allocations: 10.06 kB / 0.9877 GB, free: 7.355 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003635/1.446, allocations: 1.534 MB / 0.9892 GB, free: 6.801 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007147/1.447, allocations: 314.1 kB / 0.9895 GB, free: 6.602 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002003/1.447, allocations: 21.41 kB / 0.9895 GB, free: 6.598 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001402/1.449, allocations: 161.6 kB / 0.9896 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001594/1.449, allocations: 57.66 kB / 0.9897 GB, free: 6.523 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.671e-05/1.449, allocations: 36.38 kB / 0.9897 GB, free: 6.516 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008765/1.45, allocations: 0.5735 MB / 0.9903 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.71e-07/1.45, allocations: 0 / 0.9903 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001825/1.452, allocations: 0.5314 MB / 0.9908 GB, free: 6.254 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.0006167/1.452, allocations: 270.9 kB / 0.9911 GB, free: 6.105 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005866/1.458, allocations: 2.154 MB / 0.9932 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/1.458, allocations: 0 / 0.9932 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001743/1.46, allocations: 0.7079 MB / 0.9939 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004207/1.464, allocations: 0.5116 MB / 0.9944 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005515/1.47, allocations: 2.54 MB / 0.9968 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008939/1.471, allocations: 1.093 MB / 0.9979 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.00189/1.473, allocations: 391.3 kB / 0.9983 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003883/1.473, allocations: 89.67 kB / 0.9984 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of SimCode: time 1.193e-06/1.473, allocations: 4 kB / 0.9984 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of Templates: time 0.03733/1.51, allocations: 20 MB / 1.018 GB, free: 0.6133 MB / 0.7481 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: