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.499/1.499, allocations: 252 MB / 267.3 MB, free: 10.84 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.00127/0.001269, allocations: 167 kB / 327 MB, free: 2.086 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.989/1.989, allocations: 205.4 MB / 0.578 GB, free: 20.15 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.0008781/0.0008782, allocations: 84.91 kB / 0.6826 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004364/0.0004366, allocations: 8.938 kB / 0.7971 GB, free: 134.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.2507, allocations: 106.3 MB / 0.9009 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.8747/1.125, allocations: 209.5 MB / 1.106 GB, free: 1.449 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01225/1.138, allocations: 7.096 MB / 1.112 GB, free: 1.242 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002066/1.14, allocations: 37.44 kB / 1.112 GB, free: 1.242 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002217/1.142, allocations: 0.6538 MB / 1.113 GB, free: 1.227 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.009151/1.151, allocations: 2.488 MB / 1.116 GB, free: 1.094 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004023/1.155, allocations: 1.062 MB / 1.117 GB, free: 1.047 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.006371/1.162, allocations: 3.729 MB / 1.12 GB, free: 1.035 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002328/1.164, allocations: 0.8835 MB / 1.121 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005533/1.17, allocations: 1.64 MB / 1.123 GB, free: 0.8711 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003274/1.173, allocations: 0.9628 MB / 1.124 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0004596/1.173, allocations: 46.19 kB / 1.124 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006353/1.18, allocations: 2.796 MB / 1.126 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0008568/1.181, allocations: 349.7 kB / 1.127 GB, free: 0.832 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001983/1.183, allocations: 0.6211 MB / 1.127 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.006917/1.189, allocations: 2.535 MB / 1.13 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/1.189, allocations: 0 / 1.13 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.296e-06/1.189, allocations: 0 / 1.13 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.128e-05/1.19, allocations: 0 / 1.13 GB, free: 0.5547 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.00479/1.194, allocations: 1.602 MB / 1.131 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/1.194, allocations: 11.62 kB / 1.131 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002001/1.195, allocations: 129 kB / 1.132 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003058/1.198, allocations: 0.5894 MB / 1.132 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00223/1.2, allocations: 0.9528 MB / 1.133 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007954/1.201, allocations: 199.8 kB / 1.133 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002356/1.201, allocations: 87.11 kB / 1.133 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004292/1.205, allocations: 1.271 MB / 1.135 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/1.205, allocations: 0.5 kB / 1.135 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001216/1.205, allocations: 33.28 kB / 1.135 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001201/1.206, allocations: 48.27 kB / 1.135 GB, free: 15.08 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004931/1.211, allocations: 1.617 MB / 1.136 GB, free: 15.04 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.008318/1.219, allocations: 4.098 MB / 1.14 GB, free: 12.99 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002962/1.222, allocations: 1.051 MB / 1.141 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001606/1.223, allocations: 0.6946 MB / 1.142 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001275/1.225, allocations: 0.639 MB / 1.143 GB, free: 12.03 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.335e-05/1.225, allocations: 45.53 kB / 1.143 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=76): time 3.647e-06/1.225, allocations: 0 / 1.143 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of matching and sorting (n=76): time 0.005211/1.23, allocations: 1.927 MB / 1.144 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.887e-05/1.23, allocations: 57.56 kB / 1.145 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001551/1.232, allocations: 0.8187 MB / 1.145 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001514/1.232, allocations: 42.52 kB / 1.145 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005257/1.232, allocations: 448.6 kB / 1.146 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003274/1.233, allocations: 254.2 kB / 1.146 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.246e-05/1.233, allocations: 16.62 kB / 1.146 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001722/1.233, allocations: 335.9 kB / 1.146 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001675/1.235, allocations: 0.5659 MB / 1.147 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001666/1.236, allocations: 0.7044 MB / 1.148 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002936/1.239, allocations: 1.221 MB / 1.149 GB, free: 9.828 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/1.239, allocations: 0 / 1.149 GB, free: 9.828 MB / 0.7136 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003548/1.243, allocations: 1.429 MB / 1.15 GB, free: 9.477 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001348/1.243, allocations: 153 kB / 1.15 GB, free: 9.316 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/1.243, allocations: 0 / 1.15 GB, free: 9.316 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.239e-05/1.243, allocations: 10.41 kB / 1.15 GB, free: 9.312 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001636/1.245, allocations: 282.5 kB / 1.151 GB, free: 9.246 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007811/1.246, allocations: 1.191 MB / 1.152 GB, free: 8.062 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001501/1.247, allocations: 206.5 kB / 1.152 GB, free: 7.973 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001143/1.247, allocations: 34.02 kB / 1.152 GB, free: 7.969 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/1.247, allocations: 3.125 kB / 1.152 GB, free: 7.969 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003262/1.25, allocations: 1.325 MB / 1.153 GB, free: 7.691 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/1.25, allocations: 2.625 kB / 1.153 GB, free: 7.691 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.677e-06/1.25, allocations: 7.125 kB / 1.153 GB, free: 7.688 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001215/1.252, allocations: 257.2 kB / 1.154 GB, free: 7.633 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.587e-05/1.252, allocations: 7 kB / 1.154 GB, free: 7.629 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001494/1.253, allocations: 200.3 kB / 1.154 GB, free: 7.539 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001054/1.253, allocations: 35.38 kB / 1.154 GB, free: 7.531 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.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 (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.0007717/1.254, allocations: 380.3 kB / 1.154 GB, free: 7.324 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003511/1.254, allocations: 106.8 kB / 1.154 GB, free: 7.27 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003816/1.258, allocations: 1.424 MB / 1.156 GB, free: 6.91 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/1.258, allocations: 12.59 kB / 1.156 GB, free: 6.906 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/1.258, allocations: 0 / 1.156 GB, free: 6.906 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/1.258, allocations: 3.984 kB / 1.156 GB, free: 6.902 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006595/1.265, allocations: 2.928 MB / 1.159 GB, free: 5.086 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.498e-06/1.265, allocations: 6.688 kB / 1.159 GB, free: 5.086 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00148/1.266, allocations: 254.7 kB / 1.159 GB, free: 5.016 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-05/1.267, allocations: 7.031 kB / 1.159 GB, free: 5.016 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.649e-05/1.267, allocations: 26.14 kB / 1.159 GB, free: 5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006322/1.267, allocations: 1.188 MB / 1.16 GB, free: 3.805 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.321e-05/1.267, allocations: 7.125 kB / 1.16 GB, free: 3.805 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003828/1.271, allocations: 1.538 MB / 1.161 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000783/1.272, allocations: 310.9 kB / 1.162 GB, free: 2.672 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003296/1.272, allocations: 30.17 kB / 1.162 GB, free: 2.648 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001494/1.274, allocations: 167.6 kB / 1.162 GB, free: 2.582 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000178/1.274, allocations: 59.98 kB / 1.162 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001068/1.274, allocations: 34.72 kB / 1.162 GB, free: 2.539 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001076/1.275, allocations: 0.5694 MB / 1.163 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.21e-07/1.275, allocations: 0 / 1.163 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00205/1.277, allocations: 0.5322 MB / 1.163 GB, free: 2.102 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.004754/1.282, allocations: 2.254 MB / 1.165 GB, free: 0.5586 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.006364/1.288, allocations: 2.149 MB / 1.167 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.437e-06/1.288, allocations: 0 / 1.167 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001863/1.29, allocations: 0.708 MB / 1.168 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003685/1.294, allocations: 0.5084 MB / 1.169 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02177/1.316, allocations: 9.676 MB / 1.178 GB, free: 3.258 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00094/1.317, allocations: 1.094 MB / 1.179 GB, free: 2.133 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002077/1.319, allocations: 391.5 kB / 1.179 GB, free: 1.746 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007614/1.32, allocations: 391.3 kB / 1.18 GB, free: 1.363 MB / 0.7292 GB Notification: Performance of SimCode: time 1.092e-06/1.32, allocations: 0 / 1.18 GB, free: 1.363 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05842/1.378, allocations: 27.48 MB / 1.207 GB, free: 6.312 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002418/1.378, allocations: 292.3 kB / 1.207 GB, free: 5.934 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.247/4.626, allocations: 0 / 1.207 GB, free: 5.934 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)