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.0009747/0.0009778, allocations: 99.94 kB / 15.05 MB, free: 1.105 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.001091/0.001091, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.568/1.568, allocations: 205.4 MB / 222.1 MB, free: 5.668 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.642/1.642, allocations: 251.9 MB / 0.51 GB, free: 4.848 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.000575/0.0005751, allocations: 16 kB / 0.6241 GB, free: 1.211 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6253/0.6259, allocations: 106.3 MB / 0.728 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.213/0.839, allocations: 176.9 MB / 0.9007 GB, free: 10.11 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01216/0.8512, allocations: 7.017 MB / 0.9076 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001691/0.853, allocations: 35.75 kB / 0.9076 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002462/0.8554, allocations: 0.7233 MB / 0.9083 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.007736/0.8632, allocations: 2.197 MB / 0.9105 GB, free: 124 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.5942/1.457, allocations: 1.191 MB / 0.9116 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00568/1.463, allocations: 1.622 MB / 0.9132 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00205/1.465, allocations: 0.8246 MB / 0.914 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005965/1.471, allocations: 1.262 MB / 0.9153 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002247/1.473, allocations: 0.6731 MB / 0.9159 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002311/1.474, allocations: 46.88 kB / 0.916 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00508/1.479, allocations: 1.328 MB / 0.9173 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0006721/1.479, allocations: 317.4 kB / 0.9176 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001203/1.481, allocations: 270.1 kB / 0.9178 GB, free: 21.37 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003369/1.484, allocations: 1.604 MB / 0.9194 GB, free: 21.24 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/1.484, allocations: 0 / 0.9194 GB, free: 21.24 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.527e-06/1.484, allocations: 0.5 kB / 0.9194 GB, free: 21.24 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.899e-05/1.484, allocations: 0 / 0.9194 GB, free: 21.24 MB / 0.7325 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.005082/1.489, allocations: 1.575 MB / 0.9209 GB, free: 20.38 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.212e-05/1.489, allocations: 8.812 kB / 0.9209 GB, free: 20.38 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003816/1.493, allocations: 0.5891 MB / 0.9215 GB, free: 20.29 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002282/1.495, allocations: 0.9231 MB / 0.9224 GB, free: 19.98 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006447/1.496, allocations: 199.1 kB / 0.9226 GB, free: 19.96 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001657/1.496, allocations: 93.22 kB / 0.9227 GB, free: 19.96 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002908/1.499, allocations: 1.259 MB / 0.9239 GB, free: 19.88 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.323e-05/1.499, allocations: 0 / 0.9239 GB, free: 19.88 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001098/1.499, allocations: 35.27 kB / 0.924 GB, free: 19.88 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-05/1.499, allocations: 45.31 kB / 0.924 GB, free: 19.88 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00381/1.503, allocations: 1.611 MB / 0.9256 GB, free: 19.84 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.006939/1.51, allocations: 4.082 MB / 0.9296 GB, free: 18.23 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00259/1.513, allocations: 1.076 MB / 0.9306 GB, free: 18.17 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007746/1.513, allocations: 291.5 kB / 0.9309 GB, free: 17.98 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.488e-05/1.514, allocations: 39.97 kB / 0.9309 GB, free: 17.94 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=76): time 3.136e-06/1.514, allocations: 0 / 0.9309 GB, free: 17.94 MB / 0.7325 GB Notification: Performance of matching and sorting (n=76): time 0.004891/1.518, allocations: 1.92 MB / 0.9328 GB, free: 17.8 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.278e-05/1.519, allocations: 58.19 kB / 0.9329 GB, free: 17.74 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/1.52, allocations: 0.8154 MB / 0.9337 GB, free: 17.59 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001398/1.52, allocations: 39.45 kB / 0.9337 GB, free: 17.56 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003267/1.52, allocations: 441 kB / 0.9341 GB, free: 17.39 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002183/1.52, allocations: 262.5 kB / 0.9344 GB, free: 17.22 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.029e-05/1.52, allocations: 11.72 kB / 0.9344 GB, free: 17.22 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001374/1.521, allocations: 335.7 kB / 0.9347 GB, free: 16.91 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00133/1.522, allocations: 0.5584 MB / 0.9352 GB, free: 16.9 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001431/1.523, allocations: 0.7027 MB / 0.9359 GB, free: 16.78 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001467/1.525, allocations: 0.6183 MB / 0.9365 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.124e-06/1.525, allocations: 0 / 0.9365 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00356/1.528, allocations: 1.423 MB / 0.9379 GB, free: 16.57 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003327/1.529, allocations: 0.5652 MB / 0.9385 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/1.529, allocations: 7.172 kB / 0.9385 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.919e-05/1.529, allocations: 1.688 kB / 0.9385 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00162/1.53, allocations: 287.8 kB / 0.9388 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008486/1.531, allocations: 1.194 MB / 0.9399 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001611/1.533, allocations: 202.6 kB / 0.9401 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001024/1.533, allocations: 37.56 kB / 0.9402 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/1.533, allocations: 2.812 kB / 0.9402 GB, free: 14.74 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003116/1.536, allocations: 1.319 MB / 0.9414 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/1.536, allocations: 2.594 kB / 0.9414 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.957e-06/1.536, allocations: 5.375 kB / 0.9415 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00115/1.537, allocations: 248 kB / 0.9417 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/1.537, allocations: 2.812 kB / 0.9417 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001555/1.539, allocations: 194.2 kB / 0.9419 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.267e-05/1.539, allocations: 40.19 kB / 0.9419 GB, free: 14.61 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 (hex.i1_w,hex.i2_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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000918/1.54, allocations: 374 kB / 0.9423 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002234/1.54, allocations: 114.2 kB / 0.9424 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003569/1.544, allocations: 1.429 MB / 0.9438 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/1.544, allocations: 7.812 kB / 0.9438 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/1.544, allocations: 3.094 kB / 0.9438 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/1.544, allocations: 7.094 kB / 0.9438 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005866/1.55, allocations: 2.985 MB / 0.9467 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.287e-06/1.55, allocations: 5.719 kB / 0.9467 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001199/1.551, allocations: 244.9 kB / 0.9469 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.425e-05/1.551, allocations: 8.188 kB / 0.947 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.807e-05/1.551, allocations: 37.45 kB / 0.947 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006743/1.552, allocations: 1.193 MB / 0.9482 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/1.552, allocations: 6 kB / 0.9482 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003367/1.555, allocations: 1.741 MB / 0.9499 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000774/1.556, allocations: 314.9 kB / 0.9502 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001502/1.556, allocations: 26.77 kB / 0.9502 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001189/1.557, allocations: 163.3 kB / 0.9503 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001505/1.557, allocations: 58.91 kB / 0.9504 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.917e-05/1.557, allocations: 41.94 kB / 0.9504 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007881/1.558, allocations: 0.5637 MB / 0.951 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/1.558, allocations: 3.938 kB / 0.951 GB, free: 11.58 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001624/1.56, allocations: 0.5379 MB / 0.9515 GB, free: 11.52 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006308/1.561, allocations: 267.8 kB / 0.9518 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005076/1.566, allocations: 2.137 MB / 0.9539 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/1.566, allocations: 2.75 kB / 0.9539 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001604/1.567, allocations: 0.7136 MB / 0.9546 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002538/1.57, allocations: 0.4996 MB / 0.955 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004169/1.574, allocations: 2.474 MB / 0.9575 GB, free: 9.992 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007461/1.575, allocations: 1.117 MB / 0.9586 GB, free: 9.27 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001606/1.576, allocations: 393.7 kB / 0.9589 GB, free: 9.18 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002997/1.577, allocations: 87.48 kB / 0.959 GB, free: 9.172 MB / 0.7325 GB Notification: Performance of SimCode: time 8.42e-07/1.577, allocations: 4 kB / 0.959 GB, free: 9.168 MB / 0.7325 GB Notification: Performance of Templates: time 0.03366/1.61, allocations: 19.41 MB / 0.978 GB, free: 1.414 MB / 0.7325 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: