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.711/1.711, allocations: 288.2 MB / 303.2 MB, free: 8.125 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.001125/0.001126, allocations: 181.1 kB / 371.8 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.826/1.826, allocations: 205.4 MB / 0.6305 GB, free: 10.01 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.001105/0.001105, allocations: 93.53 kB / 0.7439 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004536/0.0004536, allocations: 11.88 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.294/0.2945, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.9937/1.288, allocations: 176.7 MB / 1.152 GB, free: 8.094 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01332/1.302, allocations: 6.901 MB / 1.159 GB, free: 2.555 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002151/1.304, allocations: 33.94 kB / 1.159 GB, free: 2.539 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003068/1.307, allocations: 0.7195 MB / 1.159 GB, free: 1.934 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.009457/1.316, allocations: 2.114 MB / 1.162 GB, free: 228 kB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004781/1.321, allocations: 1.132 MB / 1.163 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.004655/1.326, allocations: 1.617 MB / 1.164 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001884/1.328, allocations: 0.829 MB / 1.165 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004464/1.332, allocations: 1.3 MB / 1.166 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001744/1.334, allocations: 0.6219 MB / 1.167 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0002199/1.334, allocations: 46.44 kB / 1.167 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004246/1.339, allocations: 1.327 MB / 1.168 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0005383/1.339, allocations: 317.7 kB / 1.169 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0007822/1.34, allocations: 268.1 kB / 1.169 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.003221/1.343, allocations: 1.604 MB / 1.17 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/1.343, allocations: 0 / 1.17 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.605e-06/1.343, allocations: 4 kB / 1.17 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.797e-05/1.343, allocations: 0 / 1.17 GB, free: 10.66 MB / 0.7136 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.005065/1.348, allocations: 1.574 MB / 1.172 GB, free: 9.48 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.466e-05/1.348, allocations: 12.66 kB / 1.172 GB, free: 9.477 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002737/1.349, allocations: 136.5 kB / 1.172 GB, free: 9.363 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003299/1.352, allocations: 0.5898 MB / 1.173 GB, free: 9.113 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002244/1.354, allocations: 0.9192 MB / 1.174 GB, free: 8.387 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000636/1.355, allocations: 197.3 kB / 1.174 GB, free: 8.309 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001831/1.355, allocations: 87.12 kB / 1.174 GB, free: 8.281 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00297/1.358, allocations: 1.264 MB / 1.175 GB, free: 7.578 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/1.358, allocations: 7.938 kB / 1.175 GB, free: 7.57 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001053/1.358, allocations: 32.53 kB / 1.175 GB, free: 7.547 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-05/1.358, allocations: 46.3 kB / 1.175 GB, free: 7.539 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003724/1.362, allocations: 1.609 MB / 1.177 GB, free: 6.781 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.007315/1.369, allocations: 4.092 MB / 1.181 GB, free: 3.457 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002697/1.372, allocations: 1.074 MB / 1.182 GB, free: 2.953 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008456/1.373, allocations: 296.6 kB / 1.182 GB, free: 2.711 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.01e-05/1.373, allocations: 44.12 kB / 1.182 GB, free: 2.664 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=76): time 3.897e-06/1.373, allocations: 0 / 1.182 GB, free: 2.664 MB / 0.7136 GB Notification: Performance of matching and sorting (n=76): time 0.005256/1.378, allocations: 1.91 MB / 1.184 GB, free: 1.789 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.763e-05/1.378, allocations: 60.28 kB / 1.184 GB, free: 1.727 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001089/1.379, allocations: 0.808 MB / 1.185 GB, free: 1.254 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001272/1.38, allocations: 45.17 kB / 1.185 GB, free: 1.211 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003582/1.38, allocations: 442.7 kB / 1.185 GB, free: 0.8242 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002508/1.38, allocations: 258.8 kB / 1.185 GB, free: 0.5977 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.785e-05/1.38, allocations: 17.44 kB / 1.185 GB, free: 0.5859 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001429/1.38, allocations: 337.4 kB / 1.186 GB, free: 264 kB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001415/1.382, allocations: 0.5632 MB / 1.186 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001521/1.383, allocations: 0.6875 MB / 1.187 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001509/1.385, allocations: 0.6358 MB / 1.188 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/1.385, allocations: 0 / 1.188 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003454/1.388, allocations: 1.422 MB / 1.189 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002672/1.389, allocations: 0.559 MB / 1.19 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/1.389, allocations: 0 / 1.19 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.341e-05/1.389, allocations: 5.312 kB / 1.19 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001526/1.39, allocations: 287.1 kB / 1.19 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000816/1.391, allocations: 1.189 MB / 1.191 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001473/1.393, allocations: 200.2 kB / 1.191 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.395e-05/1.393, allocations: 34.67 kB / 1.191 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/1.393, allocations: 5.438 kB / 1.191 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003226/1.396, allocations: 1.322 MB / 1.193 GB, free: 12 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/1.396, allocations: 2.562 kB / 1.193 GB, free: 12 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/1.396, allocations: 6.5 kB / 1.193 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/1.397, allocations: 251.7 kB / 1.193 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/1.397, allocations: 6.5 kB / 1.193 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001357/1.399, allocations: 196.2 kB / 1.193 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.067e-05/1.399, allocations: 35.39 kB / 1.193 GB, free: 11.82 MB / 0.7292 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.0007736/1.399, allocations: 374 kB / 1.193 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002124/1.4, allocations: 106.5 kB / 1.193 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003619/1.403, allocations: 1.429 MB / 1.195 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/1.403, allocations: 7.625 kB / 1.195 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/1.403, allocations: 2.375 kB / 1.195 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.126e-05/1.403, allocations: 3.984 kB / 1.195 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006486/1.41, allocations: 2.978 MB / 1.198 GB, free: 8.031 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.267e-05/1.41, allocations: 4 kB / 1.198 GB, free: 8.027 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001244/1.411, allocations: 256.1 kB / 1.198 GB, free: 7.777 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.588e-05/1.411, allocations: 8 kB / 1.198 GB, free: 7.77 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.027e-05/1.411, allocations: 23.98 kB / 1.198 GB, free: 7.746 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007411/1.412, allocations: 1.195 MB / 1.199 GB, free: 6.504 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.706e-06/1.412, allocations: 11.92 kB / 1.199 GB, free: 6.492 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003834/1.416, allocations: 1.753 MB / 1.201 GB, free: 4.566 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007431/1.417, allocations: 307.5 kB / 1.201 GB, free: 4.246 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001435/1.417, allocations: 20 kB / 1.201 GB, free: 4.227 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001196/1.418, allocations: 163.8 kB / 1.201 GB, free: 4.066 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001381/1.418, allocations: 64.38 kB / 1.201 GB, free: 4 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.059e-05/1.418, allocations: 39.97 kB / 1.202 GB, free: 3.961 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0008296/1.419, allocations: 0.5583 MB / 1.202 GB, free: 3.391 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.91e-07/1.419, allocations: 0 / 1.202 GB, free: 3.391 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.00165/1.421, allocations: 0.5341 MB / 1.203 GB, free: 2.855 MB / 0.7292 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.005144/1.426, allocations: 3.631 MB / 1.206 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.005641/1.432, allocations: 2.143 MB / 1.208 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.097e-05/1.432, allocations: 4.125 kB / 1.208 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001876/1.433, allocations: 0.7028 MB / 1.209 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002785/1.436, allocations: 0.5027 MB / 1.209 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006217/1.442, allocations: 3.779 MB / 1.213 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007489/1.443, allocations: 1.114 MB / 1.214 GB, free: 6.672 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001837/1.445, allocations: 391.5 kB / 1.215 GB, free: 6.285 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006498/1.446, allocations: 389 kB / 1.215 GB, free: 5.906 MB / 0.7448 GB Notification: Performance of SimCode: time 6.41e-07/1.446, allocations: 0 / 1.215 GB, free: 5.906 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06165/1.507, allocations: 28.25 MB / 1.243 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002266/1.508, allocations: 270.9 kB / 1.243 GB, free: 9.668 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.076/4.583, allocations: 0 / 1.243 GB, free: 9.668 MB / 0.7761 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)