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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.766/1.766, allocations: 251.5 MB / 267.4 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00119/0.00119, allocations: 179 kB / 326.5 MB, free: 2.672 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.827/1.827, allocations: 205 MB / 0.5766 GB, free: 20.99 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006962/0.0006964, allocations: 88.08 kB / 0.6803 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005517/0.0005517, allocations: 5.906 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2866/0.2872, allocations: 105.4 MB / 0.8967 GB, free: 68.15 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.7718/1.059, allocations: 212 MB / 1.104 GB, free: 1.266 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01189/1.071, allocations: 7.168 MB / 1.111 GB, free: 1.066 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002173/1.073, allocations: 41.12 kB / 1.111 GB, free: 1.066 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002235/1.076, allocations: 0.651 MB / 1.111 GB, free: 1.051 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.007621/1.083, allocations: 2.473 MB / 1.114 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003536/1.087, allocations: 1.07 MB / 1.115 GB, free: 0.8789 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.005565/1.092, allocations: 3.727 MB / 1.119 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001879/1.094, allocations: 0.8838 MB / 1.119 GB, free: 0.7344 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004939/1.099, allocations: 1.637 MB / 1.121 GB, free: 0.7031 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003272/1.103, allocations: 0.9552 MB / 1.122 GB, free: 0.6992 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0004702/1.103, allocations: 46.53 kB / 1.122 GB, free: 0.6992 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005899/1.109, allocations: 2.792 MB / 1.125 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0008069/1.11, allocations: 356.2 kB / 1.125 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001896/1.112, allocations: 0.6057 MB / 1.126 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003807/1.115, allocations: 1.787 MB / 1.127 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/1.116, allocations: 2.969 kB / 1.127 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.457e-06/1.116, allocations: 0 / 1.127 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.186e-05/1.116, allocations: 0 / 1.127 GB, free: 0.5312 MB / 0.698 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.005285/1.121, allocations: 1.603 MB / 1.129 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/1.121, allocations: 11.34 kB / 1.129 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00322/1.124, allocations: 0.5883 MB / 1.13 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002065/1.126, allocations: 0.9502 MB / 1.13 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006782/1.127, allocations: 203.2 kB / 1.131 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001624/1.127, allocations: 83.03 kB / 1.131 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003051/1.13, allocations: 1.273 MB / 1.132 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.212e-05/1.13, allocations: 0 / 1.132 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001053/1.13, allocations: 36.23 kB / 1.132 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001055/1.13, allocations: 49.38 kB / 1.132 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004388/1.135, allocations: 1.614 MB / 1.134 GB, free: 15.07 MB / 0.7136 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.007439/1.142, allocations: 4.105 MB / 1.138 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002535/1.145, allocations: 1.047 MB / 1.139 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001495/1.146, allocations: 0.6937 MB / 1.139 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001169/1.148, allocations: 0.6376 MB / 1.14 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.863e-05/1.148, allocations: 46.75 kB / 1.14 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=76): time 4.638e-06/1.148, allocations: 0 / 1.14 GB, free: 12.73 MB / 0.7136 GB Notification: Performance of matching and sorting (n=76): time 0.005333/1.153, allocations: 1.924 MB / 1.142 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.645e-05/1.153, allocations: 61.19 kB / 1.142 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001211/1.154, allocations: 0.8127 MB / 1.143 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001306/1.154, allocations: 45.94 kB / 1.143 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000361/1.155, allocations: 443.4 kB / 1.143 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002517/1.155, allocations: 263.3 kB / 1.143 GB, free: 11.74 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/1.155, allocations: 64.75 kB / 1.144 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001458/1.155, allocations: 338.1 kB / 1.144 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001398/1.157, allocations: 0.5706 MB / 1.144 GB, free: 11.28 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001548/1.158, allocations: 0.6944 MB / 1.145 GB, free: 11.05 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002771/1.161, allocations: 1.226 MB / 1.146 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/1.161, allocations: 0 / 1.146 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003593/1.165, allocations: 1.435 MB / 1.148 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001421/1.165, allocations: 148.1 kB / 1.148 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/1.165, allocations: 3.984 kB / 1.148 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.52e-05/1.165, allocations: 17.25 kB / 1.148 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001702/1.167, allocations: 279.4 kB / 1.148 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000795/1.167, allocations: 1.194 MB / 1.149 GB, free: 8.996 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001658/1.169, allocations: 195.3 kB / 1.149 GB, free: 8.914 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.62e-05/1.169, allocations: 39.84 kB / 1.15 GB, free: 8.906 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/1.169, allocations: 5.781 kB / 1.15 GB, free: 8.906 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003387/1.173, allocations: 1.322 MB / 1.151 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/1.173, allocations: 0 / 1.151 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/1.173, allocations: 6.469 kB / 1.151 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001333/1.174, allocations: 253.3 kB / 1.151 GB, free: 8.328 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/1.174, allocations: 2.938 kB / 1.151 GB, free: 8.328 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001454/1.176, allocations: 198.3 kB / 1.151 GB, free: 8.234 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-05/1.176, allocations: 35.09 kB / 1.151 GB, free: 8.223 MB / 0.7136 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.0007475/1.176, allocations: 372.1 kB / 1.152 GB, free: 7.93 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002254/1.177, allocations: 111 kB / 1.152 GB, free: 7.871 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003551/1.18, allocations: 1.438 MB / 1.153 GB, free: 7.125 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-06/1.18, allocations: 6.5 kB / 1.153 GB, free: 7.125 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/1.18, allocations: 2.125 kB / 1.153 GB, free: 7.125 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/1.18, allocations: 3.984 kB / 1.153 GB, free: 7.121 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006059/1.186, allocations: 2.933 MB / 1.156 GB, free: 5.289 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/1.186, allocations: 3.156 kB / 1.156 GB, free: 5.289 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001251/1.188, allocations: 244.4 kB / 1.156 GB, free: 5.23 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.606e-05/1.188, allocations: 11.97 kB / 1.156 GB, free: 5.227 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.937e-05/1.188, allocations: 23.61 kB / 1.156 GB, free: 5.215 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006155/1.188, allocations: 1.197 MB / 1.157 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/1.188, allocations: 2.156 kB / 1.157 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003872/1.192, allocations: 1.538 MB / 1.159 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008697/1.193, allocations: 316.6 kB / 1.159 GB, free: 2.875 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001474/1.193, allocations: 14.69 kB / 1.159 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00126/1.194, allocations: 170.8 kB / 1.159 GB, free: 2.797 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001582/1.195, allocations: 55.56 kB / 1.16 GB, free: 2.77 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.312e-05/1.195, allocations: 36.53 kB / 1.16 GB, free: 2.758 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.00088/1.196, allocations: 0.573 MB / 1.16 GB, free: 2.418 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/1.196, allocations: 0 / 1.16 GB, free: 2.418 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001561/1.197, allocations: 0.5311 MB / 1.161 GB, free: 2.32 MB / 0.7136 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.0006494/1.198, allocations: 275.1 kB / 1.161 GB, free: 2.156 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.005767/1.204, allocations: 2.146 MB / 1.163 GB, free: 1.164 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.209e-05/1.204, allocations: 0 / 1.163 GB, free: 1.164 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001845/1.206, allocations: 0.7079 MB / 1.164 GB, free: 0.668 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00328/1.209, allocations: 0.5135 MB / 1.164 GB, free: 164 kB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004851/1.214, allocations: 2.566 MB / 1.167 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007039/1.214, allocations: 1.091 MB / 1.168 GB, free: 12.41 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005412/1.215, allocations: 95.39 kB / 1.168 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of SimCode: time 1.463e-06/1.215, allocations: 0 / 1.168 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of Templates: time 0.03747/1.253, allocations: 26.72 MB / 1.194 GB, free: 1.715 MB / 0.7448 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)