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 1.526/1.526, allocations: 287.4 MB / 302.6 MB, free: 8.316 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.001109/0.001109, allocations: 181.6 kB / 371.1 MB, free: 10.83 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.383/1.383, allocations: 205.4 MB / 0.6298 GB, free: 10.57 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.0008855/0.0008856, allocations: 95.67 kB / 0.7431 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003895/0.0003897, allocations: 14.72 kB / 0.8662 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1956/0.196, allocations: 115.3 MB / 0.9787 GB, free: 28.12 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.5786/0.7746, allocations: 195.2 MB / 1.169 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.01058/0.7853, allocations: 6.544 MB / 1.176 GB, free: 6.324 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001446/0.7868, allocations: 35.72 kB / 1.176 GB, free: 6.309 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001668/0.7885, allocations: 0.5002 MB / 1.176 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.005378/0.7939, allocations: 1.766 MB / 1.178 GB, free: 4.512 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.002804/0.7967, allocations: 0.9074 MB / 1.179 GB, free: 3.898 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.004691/0.8014, allocations: 3.214 MB / 1.182 GB, free: 1.988 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001708/0.8031, allocations: 0.8635 MB / 1.183 GB, free: 1.469 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00422/0.8074, allocations: 1.521 MB / 1.184 GB, free: 0.5781 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001712/0.8091, allocations: 0.8676 MB / 1.185 GB, free: 96 kB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0001778/0.8093, allocations: 46.31 kB / 1.185 GB, free: 96 kB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003545/0.8128, allocations: 1.541 MB / 1.187 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0004081/0.8133, allocations: 347.1 kB / 1.187 GB, free: 15.05 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0004661/0.8137, allocations: 273.7 kB / 1.187 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.002325/0.8161, allocations: 1.704 MB / 1.189 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.8161, allocations: 2.844 kB / 1.189 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8161, allocations: 0 / 1.189 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.328e-05/0.8161, allocations: 0 / 1.189 GB, free: 13.81 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.003816/0.8199, allocations: 1.598 MB / 1.191 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.82, allocations: 10.84 kB / 1.191 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001889/0.8202, allocations: 134.3 kB / 1.191 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002838/0.823, allocations: 0.5959 MB / 1.191 GB, free: 12.22 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001673/0.8247, allocations: 0.9568 MB / 1.192 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006026/0.8253, allocations: 194.5 kB / 1.192 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001446/0.8255, allocations: 86.47 kB / 1.192 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002644/0.8281, allocations: 1.262 MB / 1.194 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.069e-05/0.8282, allocations: 0 / 1.194 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/0.8283, allocations: 40.88 kB / 1.194 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.862e-05/0.8284, allocations: 53.33 kB / 1.194 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003723/0.8321, allocations: 1.607 MB / 1.195 GB, free: 9.863 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.006594/0.8387, allocations: 4.107 MB / 1.199 GB, free: 6.52 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002502/0.8412, allocations: 1.047 MB / 1.2 GB, free: 6.031 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001497/0.8427, allocations: 0.702 MB / 1.201 GB, free: 5.699 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001042/0.8438, allocations: 0.6302 MB / 1.202 GB, free: 5.078 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.8438, allocations: 45.86 kB / 1.202 GB, free: 5.027 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=76): time 2.756e-06/0.8438, allocations: 0 / 1.202 GB, free: 5.027 MB / 0.7292 GB Notification: Performance of matching and sorting (n=76): time 0.004754/0.8486, allocations: 1.911 MB / 1.204 GB, free: 4.152 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.189e-05/0.8487, allocations: 59.66 kB / 1.204 GB, free: 4.09 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001051/0.8497, allocations: 0.8217 MB / 1.204 GB, free: 3.605 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.451e-05/0.8498, allocations: 39.45 kB / 1.204 GB, free: 3.566 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003445/0.8502, allocations: 442.9 kB / 1.205 GB, free: 3.18 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002274/0.8504, allocations: 262.9 kB / 1.205 GB, free: 2.949 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.71e-05/0.8505, allocations: 16.59 kB / 1.205 GB, free: 2.938 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.8506, allocations: 336 kB / 1.206 GB, free: 2.609 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001464/0.8521, allocations: 0.5645 MB / 1.206 GB, free: 2.348 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001556/0.8537, allocations: 0.6955 MB / 1.207 GB, free: 1.77 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002961/0.8566, allocations: 1.213 MB / 1.208 GB, free: 0.5352 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.8567, allocations: 0 / 1.208 GB, free: 0.5352 MB / 0.7292 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003593/0.8603, allocations: 1.415 MB / 1.209 GB, free: 15.11 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001172/0.8604, allocations: 156.8 kB / 1.209 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.8604, allocations: 4 kB / 1.209 GB, free: 14.92 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.8604, allocations: 4 kB / 1.209 GB, free: 14.92 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001594/0.862, allocations: 276.4 kB / 1.21 GB, free: 14.65 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007155/0.8628, allocations: 1.199 MB / 1.211 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001418/0.8642, allocations: 195.3 kB / 1.211 GB, free: 13.21 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001029/0.8643, allocations: 35.98 kB / 1.211 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/0.8643, allocations: 4 kB / 1.211 GB, free: 13.17 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003251/0.8676, allocations: 1.321 MB / 1.212 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.8676, allocations: 0 / 1.212 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.973e-06/0.8676, allocations: 4 kB / 1.212 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001221/0.8689, allocations: 259.8 kB / 1.213 GB, free: 11.59 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/0.8689, allocations: 4 kB / 1.213 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001286/0.8702, allocations: 197.2 kB / 1.213 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.822e-05/0.8703, allocations: 31.98 kB / 1.213 GB, free: 11.36 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.0005741/0.8709, allocations: 376.9 kB / 1.213 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002531/0.8711, allocations: 110.6 kB / 1.213 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003591/0.8747, allocations: 1.426 MB / 1.215 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.8747, allocations: 12 kB / 1.215 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.8748, allocations: 0 / 1.215 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/0.8748, allocations: 8.062 kB / 1.215 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006/0.8808, allocations: 2.913 MB / 1.218 GB, free: 6.406 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/0.8808, allocations: 4 kB / 1.218 GB, free: 6.402 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001298/0.8821, allocations: 252.1 kB / 1.218 GB, free: 6.156 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.031e-05/0.8822, allocations: 15.94 kB / 1.218 GB, free: 6.141 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-05/0.8823, allocations: 19.98 kB / 1.218 GB, free: 6.121 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006171/0.8829, allocations: 1.188 MB / 1.219 GB, free: 4.887 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.583e-06/0.8829, allocations: 7.938 kB / 1.219 GB, free: 4.879 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003479/0.8864, allocations: 1.533 MB / 1.221 GB, free: 3.285 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000683/0.8871, allocations: 311.5 kB / 1.221 GB, free: 2.961 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002267/0.8873, allocations: 19.98 kB / 1.221 GB, free: 2.941 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001373/0.8887, allocations: 171.6 kB / 1.221 GB, free: 2.773 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001577/0.8889, allocations: 60.42 kB / 1.221 GB, free: 2.711 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.572e-05/0.889, allocations: 35.97 kB / 1.221 GB, free: 2.676 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0009555/0.89, allocations: 0.5621 MB / 1.222 GB, free: 2.102 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.8e-07/0.89, allocations: 0 / 1.222 GB, free: 2.102 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001686/0.8917, allocations: 0.538 MB / 1.222 GB, free: 1.562 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.004094/0.8958, allocations: 2.238 MB / 1.224 GB, free: 15.27 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.00548/0.9013, allocations: 2.143 MB / 1.226 GB, free: 13.09 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 6.682e-06/0.9013, allocations: 0 / 1.226 GB, free: 13.09 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001806/0.9031, allocations: 0.7027 MB / 1.227 GB, free: 12.39 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003528/0.9067, allocations: 0.5107 MB / 1.228 GB, free: 11.88 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01648/0.9232, allocations: 6.948 MB / 1.234 GB, free: 4.699 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007463/0.924, allocations: 1.091 MB / 1.236 GB, free: 3.578 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.001906/0.9259, allocations: 391.5 kB / 1.236 GB, free: 3.191 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006705/0.9266, allocations: 391.3 kB / 1.236 GB, free: 2.812 MB / 0.7605 GB Notification: Performance of SimCode: time 5.31e-07/0.9266, allocations: 0 / 1.236 GB, free: 2.812 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2347/1.161, allocations: 28.74 MB / 1.264 GB, free: 6.449 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003216/1.162, allocations: 256.3 kB / 1.265 GB, free: 6.098 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.578/3.74, allocations: 0 / 1.265 GB, free: 6.098 MB / 0.7917 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)