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 2.017/2.017, allocations: 288.4 MB / 303.3 MB, free: 8.191 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.001083/0.001083, allocations: 176.5 kB / 372 MB, free: 10.28 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.738/1.738, allocations: 205.4 MB / 0.6307 GB, free: 9.988 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.0009229/0.0009231, allocations: 96.67 kB / 0.744 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004498/0.0004499, allocations: 10.25 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2443, allocations: 115.3 MB / 0.9796 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.8635/1.108, allocations: 195.2 MB / 1.17 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.01418/1.122, allocations: 6.536 MB / 1.177 GB, free: 5.449 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002212/1.124, allocations: 36.34 kB / 1.177 GB, free: 5.434 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.002412/1.127, allocations: 0.5044 MB / 1.177 GB, free: 5.008 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.007509/1.134, allocations: 1.763 MB / 1.179 GB, free: 3.637 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.004182/1.139, allocations: 0.9196 MB / 1.18 GB, free: 3.012 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.006542/1.145, allocations: 3.178 MB / 1.183 GB, free: 1.121 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002402/1.148, allocations: 0.7773 MB / 1.184 GB, free: 0.6484 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005526/1.153, allocations: 1.521 MB / 1.185 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002598/1.156, allocations: 0.8653 MB / 1.186 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0005164/1.156, allocations: 50.19 kB / 1.186 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005409/1.162, allocations: 1.537 MB / 1.188 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0009669/1.163, allocations: 343.1 kB / 1.188 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.001087/1.164, allocations: 273.3 kB / 1.188 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.004472/1.168, allocations: 1.707 MB / 1.19 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.953e-05/1.168, allocations: 6.906 kB / 1.19 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.785e-06/1.168, allocations: 4 kB / 1.19 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.659e-05/1.169, allocations: 0 / 1.19 GB, free: 12.98 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.006108/1.175, allocations: 1.604 MB / 1.191 GB, free: 11.78 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.592e-05/1.175, allocations: 14.84 kB / 1.191 GB, free: 11.77 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005294/1.175, allocations: 134.6 kB / 1.191 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003584/1.179, allocations: 0.5877 MB / 1.192 GB, free: 11.41 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002827/1.182, allocations: 0.9264 MB / 1.193 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007105/1.183, allocations: 195.3 kB / 1.193 GB, free: 10.6 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003558/1.183, allocations: 89.3 kB / 1.193 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003527/1.186, allocations: 1.26 MB / 1.194 GB, free: 9.879 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.679e-05/1.186, allocations: 0 / 1.194 GB, free: 9.879 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001465/1.187, allocations: 33.12 kB / 1.194 GB, free: 9.852 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.111e-05/1.187, allocations: 48.42 kB / 1.195 GB, free: 9.844 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004294/1.191, allocations: 1.622 MB / 1.196 GB, free: 9.074 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.009/1.2, allocations: 4.095 MB / 1.2 GB, free: 5.746 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002961/1.203, allocations: 1.043 MB / 1.201 GB, free: 5.254 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001714/1.205, allocations: 0.696 MB / 1.202 GB, free: 4.93 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001355/1.206, allocations: 0.6352 MB / 1.202 GB, free: 4.305 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.889e-05/1.206, allocations: 46.19 kB / 1.202 GB, free: 4.254 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=76): time 4.157e-06/1.206, allocations: 0 / 1.202 GB, free: 4.254 MB / 0.7292 GB Notification: Performance of matching and sorting (n=76): time 0.005306/1.212, allocations: 1.922 MB / 1.204 GB, free: 3.367 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.279e-05/1.212, allocations: 60.09 kB / 1.204 GB, free: 3.305 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001532/1.213, allocations: 0.8164 MB / 1.205 GB, free: 2.824 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001717/1.213, allocations: 39.52 kB / 1.205 GB, free: 2.785 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004466/1.214, allocations: 445.8 kB / 1.206 GB, free: 2.398 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002796/1.214, allocations: 259 kB / 1.206 GB, free: 2.172 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.925e-05/1.214, allocations: 14.84 kB / 1.206 GB, free: 2.16 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001689/1.214, allocations: 337.7 kB / 1.206 GB, free: 1.832 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001608/1.216, allocations: 0.5598 MB / 1.207 GB, free: 1.535 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001641/1.218, allocations: 0.695 MB / 1.207 GB, free: 0.8047 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001616/1.219, allocations: 0.6216 MB / 1.208 GB, free: 180 kB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-05/1.219, allocations: 4 kB / 1.208 GB, free: 176 kB / 0.7292 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003915/1.223, allocations: 1.423 MB / 1.209 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001993/1.224, allocations: 152.8 kB / 1.21 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-05/1.224, allocations: 0 / 1.21 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.441e-05/1.224, allocations: 11.94 kB / 1.21 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001726/1.225, allocations: 279.6 kB / 1.21 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008991/1.226, allocations: 1.188 MB / 1.211 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00174/1.228, allocations: 199.3 kB / 1.211 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001399/1.228, allocations: 39.97 kB / 1.211 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/1.228, allocations: 4 kB / 1.211 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00333/1.232, allocations: 1.313 MB / 1.213 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/1.232, allocations: 4.062 kB / 1.213 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/1.232, allocations: 4 kB / 1.213 GB, free: 11.47 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00125/1.233, allocations: 255.7 kB / 1.213 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.919e-05/1.233, allocations: 7.953 kB / 1.213 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001501/1.234, allocations: 195.1 kB / 1.213 GB, free: 11.02 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001039/1.234, allocations: 35.97 kB / 1.213 GB, free: 10.99 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.0007671/1.235, allocations: 369 kB / 1.213 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004082/1.236, allocations: 102.8 kB / 1.214 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003809/1.239, allocations: 1.437 MB / 1.215 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.226e-05/1.24, allocations: 8 kB / 1.215 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/1.24, allocations: 7.938 kB / 1.215 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/1.24, allocations: 0 / 1.215 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006652/1.246, allocations: 2.914 MB / 1.218 GB, free: 6.043 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-05/1.246, allocations: 8.031 kB / 1.218 GB, free: 6.035 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00134/1.248, allocations: 251.7 kB / 1.218 GB, free: 5.789 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.808e-05/1.248, allocations: 8 kB / 1.218 GB, free: 5.781 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.163e-05/1.248, allocations: 23.98 kB / 1.218 GB, free: 5.758 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000684/1.248, allocations: 1.199 MB / 1.219 GB, free: 4.512 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/1.248, allocations: 11.94 kB / 1.219 GB, free: 4.5 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00365/1.252, allocations: 1.525 MB / 1.221 GB, free: 2.914 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008152/1.253, allocations: 315.4 kB / 1.221 GB, free: 2.586 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003031/1.253, allocations: 20 kB / 1.221 GB, free: 2.566 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001546/1.255, allocations: 159.8 kB / 1.221 GB, free: 2.41 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001719/1.255, allocations: 64.38 kB / 1.221 GB, free: 2.348 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001172/1.255, allocations: 35.97 kB / 1.221 GB, free: 2.312 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001223/1.256, allocations: 0.5622 MB / 1.222 GB, free: 1.738 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.21e-07/1.256, allocations: 0 / 1.222 GB, free: 1.738 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.002455/1.259, allocations: 0.5341 MB / 1.222 GB, free: 1.203 MB / 0.7448 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.004825/1.264, allocations: 2.241 MB / 1.225 GB, free: 14.9 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.005752/1.269, allocations: 2.139 MB / 1.227 GB, free: 12.74 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/1.269, allocations: 0 / 1.227 GB, free: 12.74 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001806/1.271, allocations: 0.7067 MB / 1.227 GB, free: 12.03 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003245/1.275, allocations: 0.5207 MB / 1.228 GB, free: 11.52 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01668/1.291, allocations: 6.946 MB / 1.235 GB, free: 4.332 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001005/1.292, allocations: 1.094 MB / 1.236 GB, free: 3.207 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.002068/1.294, allocations: 391.5 kB / 1.236 GB, free: 2.82 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007213/1.295, allocations: 390.4 kB / 1.236 GB, free: 2.441 MB / 0.7605 GB Notification: Performance of SimCode: time 1.042e-06/1.295, allocations: 0 / 1.236 GB, free: 2.441 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06316/1.358, allocations: 28.76 MB / 1.265 GB, free: 6.059 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002264/1.359, allocations: 272.3 kB / 1.265 GB, free: 5.703 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.972/4.331, allocations: 3.938 kB / 1.265 GB, free: 5.699 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)