Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.919/2.919, allocations: 287.3 MB / 302.3 MB, free: 8.215 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.001664/0.001664, allocations: 187 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.221/2.221, allocations: 205.4 MB / 0.6295 GB, free: 10.68 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.001204/0.001203, allocations: 96.53 kB / 0.7428 GB, free: 6.672 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007562/0.0007563, allocations: 15.34 kB / 0.8657 GB, free: 140.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2524/0.2532, allocations: 115.3 MB / 0.9783 GB, free: 28.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.9983/1.252, allocations: 176.7 MB / 1.151 GB, free: 9 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01835/1.27, allocations: 6.892 MB / 1.158 GB, free: 3.469 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002266/1.272, allocations: 33.38 kB / 1.158 GB, free: 3.453 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.004021/1.276, allocations: 0.7223 MB / 1.158 GB, free: 2.844 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01602/1.293, allocations: 2.12 MB / 1.16 GB, free: 1.129 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.006565/1.299, allocations: 1.129 MB / 1.161 GB, free: 364 kB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.005559/1.305, allocations: 1.616 MB / 1.163 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00255/1.307, allocations: 0.8193 MB / 1.164 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005754/1.313, allocations: 1.308 MB / 1.165 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002372/1.316, allocations: 0.6143 MB / 1.166 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0004832/1.316, allocations: 47.12 kB / 1.166 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005871/1.322, allocations: 1.329 MB / 1.167 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.001105/1.323, allocations: 322.7 kB / 1.167 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0009564/1.324, allocations: 268 kB / 1.168 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.004658/1.329, allocations: 1.604 MB / 1.169 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/1.329, allocations: 0 / 1.169 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of FrontEnd: time 4.639e-06/1.329, allocations: 0 / 1.169 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.82e-05/1.329, allocations: 0 / 1.169 GB, free: 11.59 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.008056/1.337, allocations: 1.582 MB / 1.171 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.798e-05/1.337, allocations: 16.62 kB / 1.171 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000561/1.338, allocations: 133.2 kB / 1.171 GB, free: 10.28 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006047/1.344, allocations: 0.5924 MB / 1.171 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003757/1.348, allocations: 0.9218 MB / 1.172 GB, free: 9.297 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001298/1.349, allocations: 199.4 kB / 1.173 GB, free: 9.219 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005164/1.35, allocations: 84.88 kB / 1.173 GB, free: 9.191 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005688/1.355, allocations: 1.255 MB / 1.174 GB, free: 8.5 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.622e-05/1.355, allocations: 2.906 kB / 1.174 GB, free: 8.5 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001814/1.356, allocations: 31.22 kB / 1.174 GB, free: 8.477 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.375e-05/1.356, allocations: 50.28 kB / 1.174 GB, free: 8.465 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007705/1.363, allocations: 1.618 MB / 1.175 GB, free: 7.695 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.01288/1.376, allocations: 4.091 MB / 1.179 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005148/1.382, allocations: 1.064 MB / 1.181 GB, free: 3.875 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001338/1.383, allocations: 300.5 kB / 1.181 GB, free: 3.629 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.071e-05/1.383, allocations: 37.47 kB / 1.181 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=76): time 4.288e-06/1.383, allocations: 0 / 1.181 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of matching and sorting (n=76): time 0.01002/1.393, allocations: 1.916 MB / 1.183 GB, free: 2.707 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.099e-05/1.393, allocations: 57.69 kB / 1.183 GB, free: 2.645 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001768/1.395, allocations: 0.8063 MB / 1.184 GB, free: 2.176 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0003406/1.395, allocations: 46.59 kB / 1.184 GB, free: 2.129 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005659/1.396, allocations: 453.5 kB / 1.184 GB, free: 1.734 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004663/1.397, allocations: 255.8 kB / 1.184 GB, free: 1.512 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001008/1.397, allocations: 16.66 kB / 1.184 GB, free: 1.5 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001742/1.397, allocations: 335.1 kB / 1.185 GB, free: 1.172 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002895/1.4, allocations: 0.5639 MB / 1.185 GB, free: 0.9102 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003131/1.403, allocations: 0.6934 MB / 1.186 GB, free: 0.5195 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003024/1.406, allocations: 0.6176 MB / 1.186 GB, free: 216 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.829e-06/1.406, allocations: 2.625 kB / 1.186 GB, free: 216 kB / 0.7136 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.006969/1.413, allocations: 1.423 MB / 1.188 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003705/1.413, allocations: 0.563 MB / 1.188 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/1.414, allocations: 6.906 kB / 1.188 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.527e-05/1.414, allocations: 2.812 kB / 1.188 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003163/1.417, allocations: 275.5 kB / 1.189 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001086/1.418, allocations: 1.204 MB / 1.19 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00267/1.421, allocations: 203.8 kB / 1.19 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002477/1.421, allocations: 38.14 kB / 1.19 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/1.421, allocations: 2.906 kB / 1.19 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006238/1.427, allocations: 1.324 MB / 1.191 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.635e-05/1.427, allocations: 3.984 kB / 1.191 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/1.427, allocations: 4.781 kB / 1.191 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002415/1.43, allocations: 253.8 kB / 1.192 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.483e-05/1.43, allocations: 5.344 kB / 1.192 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002491/1.432, allocations: 197.6 kB / 1.192 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001882/1.432, allocations: 31.14 kB / 1.192 GB, free: 12.72 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.0009599/1.433, allocations: 376.5 kB / 1.192 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003994/1.434, allocations: 102.4 kB / 1.192 GB, free: 12.37 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007025/1.441, allocations: 1.431 MB / 1.194 GB, free: 11.62 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.778e-05/1.441, allocations: 5.406 kB / 1.194 GB, free: 11.62 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/1.441, allocations: 0 / 1.194 GB, free: 11.62 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.016e-05/1.441, allocations: 10.06 kB / 1.194 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01165/1.453, allocations: 2.976 MB / 1.197 GB, free: 9.191 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.618e-05/1.453, allocations: 4 kB / 1.197 GB, free: 9.188 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002627/1.455, allocations: 252.1 kB / 1.197 GB, free: 8.941 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-05/1.456, allocations: 11.98 kB / 1.197 GB, free: 8.93 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002192/1.456, allocations: 23.98 kB / 1.197 GB, free: 8.906 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00095/1.457, allocations: 1.195 MB / 1.198 GB, free: 7.664 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-05/1.457, allocations: 4 kB / 1.198 GB, free: 7.66 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006902/1.464, allocations: 1.757 MB / 1.2 GB, free: 5.73 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001145/1.465, allocations: 315.5 kB / 1.2 GB, free: 5.402 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003182/1.465, allocations: 16 kB / 1.2 GB, free: 5.387 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002691/1.468, allocations: 163.8 kB / 1.2 GB, free: 5.227 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003017/1.468, allocations: 68.38 kB / 1.2 GB, free: 5.156 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001507/1.468, allocations: 31.98 kB / 1.2 GB, free: 5.125 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001274/1.47, allocations: 0.5622 MB / 1.201 GB, free: 4.551 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.9e-07/1.47, allocations: 0 / 1.201 GB, free: 4.551 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.00257/1.472, allocations: 0.5379 MB / 1.201 GB, free: 4.012 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.009236/1.482, allocations: 3.619 MB / 1.205 GB, free: 272 kB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.01083/1.492, allocations: 2.143 MB / 1.207 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.268e-05/1.493, allocations: 0 / 1.207 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.003709/1.496, allocations: 0.7107 MB / 1.208 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005048/1.501, allocations: 0.4935 MB / 1.208 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01141/1.513, allocations: 3.789 MB / 1.212 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001103/1.514, allocations: 1.11 MB / 1.213 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.003221/1.517, allocations: 387.5 kB / 1.213 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001433/1.519, allocations: 387.3 kB / 1.214 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of SimCode: time 1.693e-06/1.519, allocations: 4 kB / 1.214 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08909/1.608, allocations: 28.23 MB / 1.241 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004006/1.608, allocations: 263 kB / 1.242 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.606/5.214, allocations: 0 / 1.242 GB, free: 10.87 MB / 0.7761 GB (rm -f Buildings_8.0.0_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness.fmu > Buildings_8.0.0_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)