Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.607/1.607, allocations: 288.4 MB / 303.6 MB, free: 8.18 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001022/0.001022, allocations: 182.9 kB / 372.3 MB, free: 10.1 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.268/1.268, allocations: 205.4 MB / 0.631 GB, free: 9.871 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00075/0.00075, allocations: 98.23 kB / 0.7444 GB, free: 5.77 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004206/0.0004207, allocations: 15.77 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1762/0.1767, allocations: 115.3 MB / 0.9802 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.5601/0.7368, allocations: 195.2 MB / 1.171 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.01001/0.7469, allocations: 6.537 MB / 1.177 GB, free: 5.227 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00113/0.748, allocations: 36.09 kB / 1.177 GB, free: 5.211 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001738/0.7498, allocations: 0.5525 MB / 1.178 GB, free: 4.766 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.005661/0.7555, allocations: 2.144 MB / 1.18 GB, free: 3.145 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.002525/0.758, allocations: 0.9097 MB / 1.181 GB, free: 2.527 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.003739/0.7617, allocations: 3.211 MB / 1.184 GB, free: 0.625 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001194/0.763, allocations: 0.8855 MB / 1.185 GB, free: 92 kB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003831/0.7668, allocations: 1.671 MB / 1.186 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001691/0.7685, allocations: 0.8612 MB / 1.187 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0001154/0.7686, allocations: 47.09 kB / 1.187 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004711/0.7734, allocations: 2.751 MB / 1.19 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0004362/0.7738, allocations: 347.1 kB / 1.19 GB, free: 12.85 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0007081/0.7745, allocations: 0.6034 MB / 1.191 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.002337/0.7769, allocations: 1.786 MB / 1.193 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.7769, allocations: 0 / 1.193 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7769, allocations: 0 / 1.193 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.28e-05/0.7769, allocations: 6.938 kB / 1.193 GB, free: 11.34 MB / 0.7292 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.003845/0.7808, allocations: 1.598 MB / 1.194 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.7808, allocations: 10.88 kB / 1.194 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001565/0.781, allocations: 134.7 kB / 1.194 GB, free: 10.01 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002861/0.7838, allocations: 0.5849 MB / 1.195 GB, free: 9.762 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001651/0.7855, allocations: 0.9697 MB / 1.196 GB, free: 8.984 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006002/0.7861, allocations: 193 kB / 1.196 GB, free: 8.918 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/0.7863, allocations: 89.16 kB / 1.196 GB, free: 8.887 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0026/0.7889, allocations: 1.262 MB / 1.197 GB, free: 8.191 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.7889, allocations: 0 / 1.197 GB, free: 8.191 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/0.789, allocations: 39.52 kB / 1.197 GB, free: 8.16 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.144e-05/0.7891, allocations: 50.17 kB / 1.197 GB, free: 8.145 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003674/0.7927, allocations: 1.607 MB / 1.199 GB, free: 7.395 MB / 0.7292 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.006014/0.7988, allocations: 4.096 MB / 1.203 GB, free: 4.062 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002491/0.8013, allocations: 1.051 MB / 1.204 GB, free: 3.566 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001463/0.8028, allocations: 0.7028 MB / 1.205 GB, free: 3.234 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001063/0.8038, allocations: 0.6354 MB / 1.205 GB, free: 2.609 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.814e-05/0.8039, allocations: 41.72 kB / 1.205 GB, free: 2.562 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=76): time 3.887e-06/0.8039, allocations: 3.984 kB / 1.205 GB, free: 2.559 MB / 0.7292 GB Notification: Performance of matching and sorting (n=76): time 0.004748/0.8086, allocations: 1.911 MB / 1.207 GB, free: 1.52 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.8087, allocations: 68 kB / 1.207 GB, free: 1.441 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009286/0.8096, allocations: 0.8076 MB / 1.208 GB, free: 0.6094 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.658e-05/0.8097, allocations: 49.69 kB / 1.208 GB, free: 0.5547 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003082/0.81, allocations: 436.6 kB / 1.209 GB, free: 124 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002053/0.8102, allocations: 260.1 kB / 1.209 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.783e-05/0.8103, allocations: 16 kB / 1.209 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.8104, allocations: 337.9 kB / 1.209 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001432/0.8119, allocations: 0.5641 MB / 1.21 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001562/0.8134, allocations: 0.6911 MB / 1.21 GB, free: 14.22 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002843/0.8163, allocations: 1.213 MB / 1.212 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.8163, allocations: 0 / 1.212 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00328/0.8196, allocations: 1.419 MB / 1.213 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.961e-05/0.8197, allocations: 152.8 kB / 1.213 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.8197, allocations: 8 kB / 1.213 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.8198, allocations: 4 kB / 1.213 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001565/0.8213, allocations: 279.6 kB / 1.213 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000634/0.822, allocations: 1.195 MB / 1.215 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001188/0.8232, allocations: 195.3 kB / 1.215 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.981e-05/0.8233, allocations: 39.97 kB / 1.215 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 8.856e-06/0.8233, allocations: 9.031 kB / 1.215 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003185/0.8265, allocations: 1.317 MB / 1.216 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.476e-06/0.8265, allocations: 0 / 1.216 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.012e-06/0.8265, allocations: 8.062 kB / 1.216 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/0.8278, allocations: 255.7 kB / 1.216 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.316e-05/0.8278, allocations: 11.92 kB / 1.216 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001138/0.8289, allocations: 191.3 kB / 1.216 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.117e-05/0.829, allocations: 35.97 kB / 1.217 GB, free: 7.793 MB / 0.7448 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.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.0005936/0.8296, allocations: 369 kB / 1.217 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000167/0.8298, allocations: 110.6 kB / 1.217 GB, free: 7.312 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003452/0.8332, allocations: 1.426 MB / 1.218 GB, free: 5.879 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.8333, allocations: 8 kB / 1.218 GB, free: 5.871 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.8333, allocations: 3.984 kB / 1.218 GB, free: 5.867 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.8333, allocations: 0 / 1.218 GB, free: 5.867 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005372/0.8387, allocations: 2.921 MB / 1.221 GB, free: 2.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.511e-06/0.8387, allocations: 4.469 kB / 1.221 GB, free: 2.836 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001244/0.8399, allocations: 259.7 kB / 1.221 GB, free: 2.582 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.916e-06/0.84, allocations: 11.94 kB / 1.221 GB, free: 2.57 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-05/0.84, allocations: 19.98 kB / 1.222 GB, free: 2.551 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005607/0.8406, allocations: 1.195 MB / 1.223 GB, free: 1.309 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.8406, allocations: 8.188 kB / 1.223 GB, free: 1.301 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003179/0.8438, allocations: 1.529 MB / 1.224 GB, free: 15.71 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004332/0.8442, allocations: 311.5 kB / 1.224 GB, free: 15.39 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001317/0.8444, allocations: 16 kB / 1.224 GB, free: 15.37 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001192/0.8456, allocations: 171.6 kB / 1.225 GB, free: 15.2 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000138/0.8457, allocations: 60.42 kB / 1.225 GB, free: 15.14 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.911e-05/0.8458, allocations: 35.97 kB / 1.225 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0006533/0.8465, allocations: 0.5583 MB / 1.225 GB, free: 14.54 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8465, allocations: 4 kB / 1.225 GB, free: 14.53 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001209/0.8477, allocations: 0.5341 MB / 1.226 GB, free: 14 MB / 0.7605 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 (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.003951/0.8517, allocations: 2.243 MB / 1.228 GB, free: 11.7 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.005167/0.8568, allocations: 2.139 MB / 1.23 GB, free: 9.535 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.8569, allocations: 0 / 1.23 GB, free: 9.535 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001668/0.8585, allocations: 0.7066 MB / 1.231 GB, free: 8.824 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00284/0.8614, allocations: 0.5083 MB / 1.231 GB, free: 8.32 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01363/0.875, allocations: 6.944 MB / 1.238 GB, free: 1.141 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007042/0.8758, allocations: 1.094 MB / 1.239 GB, free: 16 kB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.001642/0.8774, allocations: 391.5 kB / 1.24 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006138/0.878, allocations: 391.3 kB / 1.24 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of SimCode: time 4.21e-07/0.878, allocations: 0 / 1.24 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7977/1.676, allocations: 29.01 MB / 1.268 GB, free: 2.605 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002908/1.676, allocations: 271 kB / 1.268 GB, free: 2.246 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.927/4.604, allocations: 0 / 1.268 GB, free: 2.246 MB / 0.7917 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness.fmu > Buildings_maint.8.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)