Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.31/1.31, allocations: 251.5 MB / 266.7 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008598/0.0008601, allocations: 172.6 kB / 325.8 MB, free: 2.672 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.484/1.484, allocations: 205 MB / 0.576 GB, free: 20.94 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007175/0.0007176, allocations: 95.92 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003151/0.0003151, allocations: 13.5 kB / 0.7932 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1964/0.1967, allocations: 105.4 MB / 0.8962 GB, free: 68.02 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.6143/0.8111, allocations: 212 MB / 1.103 GB, free: 1.297 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.008958/0.8201, allocations: 7.161 MB / 1.11 GB, free: 1.105 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001176/0.8213, allocations: 39.72 kB / 1.11 GB, free: 1.105 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.00162/0.823, allocations: 0.6566 MB / 1.111 GB, free: 1.09 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0053/0.8283, allocations: 2.486 MB / 1.113 GB, free: 0.957 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002228/0.8305, allocations: 1.059 MB / 1.114 GB, free: 0.918 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003112/0.8336, allocations: 3.732 MB / 1.118 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009993/0.8346, allocations: 0.8753 MB / 1.119 GB, free: 0.7734 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002908/0.8376, allocations: 1.647 MB / 1.12 GB, free: 0.7344 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001648/0.8392, allocations: 0.9648 MB / 1.121 GB, free: 0.7227 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001244/0.8394, allocations: 43.81 kB / 1.121 GB, free: 0.7227 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003831/0.8432, allocations: 2.796 MB / 1.124 GB, free: 0.6992 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002885/0.8435, allocations: 348.1 kB / 1.125 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005288/0.844, allocations: 0.5999 MB / 1.125 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002504/0.8465, allocations: 2.524 MB / 1.128 GB, free: 0.5156 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.8466, allocations: 1.062 kB / 1.128 GB, free: 0.5156 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.563e-06/0.8466, allocations: 4 kB / 1.128 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.232e-05/0.8466, allocations: 0 / 1.128 GB, free: 0.5117 MB / 0.698 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.003404/0.85, allocations: 1.6 MB / 1.129 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.85, allocations: 12.69 kB / 1.129 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001445/0.8502, allocations: 130.8 kB / 1.129 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002886/0.8531, allocations: 0.5852 MB / 1.13 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001463/0.8546, allocations: 0.959 MB / 1.131 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005669/0.8551, allocations: 197.8 kB / 1.131 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001191/0.8553, allocations: 80.91 kB / 1.131 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002753/0.858, allocations: 1.271 MB / 1.132 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.013e-05/0.8581, allocations: 7.125 kB / 1.132 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.481e-05/0.8582, allocations: 32.55 kB / 1.132 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.76e-05/0.8582, allocations: 49.11 kB / 1.132 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003559/0.8618, allocations: 1.617 MB / 1.134 GB, free: 15 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.005558/0.8674, allocations: 4.096 MB / 1.138 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002252/0.8696, allocations: 1.045 MB / 1.139 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001463/0.8711, allocations: 0.7006 MB / 1.14 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001006/0.8721, allocations: 0.6383 MB / 1.14 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.8722, allocations: 44.56 kB / 1.14 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=76): time 3.346e-06/0.8722, allocations: 4 kB / 1.14 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of matching and sorting (n=76): time 0.004319/0.8765, allocations: 1.924 MB / 1.142 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.8766, allocations: 58.72 kB / 1.142 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008131/0.8774, allocations: 0.8156 MB / 1.143 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.456e-05/0.8775, allocations: 47.02 kB / 1.143 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002589/0.8777, allocations: 446.7 kB / 1.144 GB, free: 11.69 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001949/0.8779, allocations: 258.9 kB / 1.144 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.8781, allocations: 69.2 kB / 1.144 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.684e-05/0.8782, allocations: 333.5 kB / 1.144 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001276/0.8794, allocations: 0.5692 MB / 1.145 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001368/0.8808, allocations: 0.7008 MB / 1.145 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002528/0.8834, allocations: 1.217 MB / 1.147 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.8834, allocations: 0 / 1.147 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002921/0.8863, allocations: 1.433 MB / 1.148 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.72e-05/0.8864, allocations: 152.9 kB / 1.148 GB, free: 9.938 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.8864, allocations: 3.312 kB / 1.148 GB, free: 9.938 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.8864, allocations: 3.188 kB / 1.148 GB, free: 9.938 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001407/0.8878, allocations: 281.7 kB / 1.148 GB, free: 9.863 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005646/0.8884, allocations: 1.191 MB / 1.15 GB, free: 8.664 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001114/0.8895, allocations: 202.8 kB / 1.15 GB, free: 8.566 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-05/0.8896, allocations: 37.94 kB / 1.15 GB, free: 8.555 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.466e-06/0.8896, allocations: 5.812 kB / 1.15 GB, free: 8.555 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002843/0.8925, allocations: 1.331 MB / 1.151 GB, free: 7.941 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.015e-06/0.8925, allocations: 4.062 kB / 1.151 GB, free: 7.938 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.649e-06/0.8925, allocations: 5.094 kB / 1.151 GB, free: 7.938 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001087/0.8936, allocations: 253.2 kB / 1.151 GB, free: 7.875 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.8936, allocations: 3.188 kB / 1.151 GB, free: 7.875 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009836/0.8946, allocations: 189.9 kB / 1.152 GB, free: 7.785 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.211e-05/0.8947, allocations: 35.95 kB / 1.152 GB, free: 7.773 MB / 0.7136 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.i2_w,hex.i1_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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004399/0.8951, allocations: 372.8 kB / 1.152 GB, free: 7.48 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001614/0.8953, allocations: 111.2 kB / 1.152 GB, free: 7.422 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003212/0.8985, allocations: 1.434 MB / 1.153 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.8985, allocations: 8.656 kB / 1.153 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.8986, allocations: 4 kB / 1.153 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.8986, allocations: 3.984 kB / 1.153 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004783/0.9034, allocations: 2.924 MB / 1.156 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.9034, allocations: 3.406 kB / 1.156 GB, free: 4.844 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001109/0.9045, allocations: 250.1 kB / 1.157 GB, free: 4.781 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.677e-06/0.9045, allocations: 10.56 kB / 1.157 GB, free: 4.777 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.135e-05/0.9046, allocations: 25.33 kB / 1.157 GB, free: 4.762 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004705/0.9051, allocations: 1.193 MB / 1.158 GB, free: 3.562 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.9051, allocations: 6.406 kB / 1.158 GB, free: 3.562 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003115/0.9082, allocations: 1.538 MB / 1.159 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003915/0.9086, allocations: 316.8 kB / 1.16 GB, free: 2.426 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001309/0.9087, allocations: 14.38 kB / 1.16 GB, free: 2.418 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001133/0.9099, allocations: 167.1 kB / 1.16 GB, free: 2.348 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.91, allocations: 59.73 kB / 1.16 GB, free: 2.32 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.856e-05/0.9101, allocations: 29.58 kB / 1.16 GB, free: 2.312 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0005937/0.9107, allocations: 0.5743 MB / 1.16 GB, free: 1.969 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9107, allocations: 0 / 1.16 GB, free: 1.969 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001103/0.9118, allocations: 0.5422 MB / 1.161 GB, free: 1.859 MB / 0.7136 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003518/0.9153, allocations: 2.244 MB / 1.163 GB, free: 396 kB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004664/0.92, allocations: 2.156 MB / 1.165 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.92, allocations: 0 / 1.165 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001546/0.9216, allocations: 0.7104 MB / 1.166 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002668/0.9242, allocations: 0.5068 MB / 1.166 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01602/0.9403, allocations: 9.649 MB / 1.176 GB, free: 3.441 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005622/0.9409, allocations: 1.094 MB / 1.177 GB, free: 2.312 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001611/0.9425, allocations: 395.5 kB / 1.177 GB, free: 1.922 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005653/0.9431, allocations: 391.3 kB / 1.178 GB, free: 1.539 MB / 0.7292 GB Notification: Performance of SimCode: time 6.12e-07/0.9431, allocations: 0 / 1.178 GB, free: 1.539 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6654/1.608, allocations: 27.47 MB / 1.204 GB, free: 6.492 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003152/1.609, allocations: 295.9 kB / 1.205 GB, free: 6.109 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.692/4.301, allocations: 8.062 kB / 1.205 GB, free: 6.102 MB / 0.7605 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_MassExchangers_Examples_ConstantEffectiveness.fmu > Buildings_maint.7.0.x_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)