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.568/1.568, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001448/0.001448, allocations: 188.1 kB / 326.5 MB, free: 2.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.352/2.352, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.001186/0.001186, allocations: 93.47 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003913/0.0003913, allocations: 9.594 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2657/0.2661, allocations: 106.3 MB / 0.9001 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.8248/1.091, allocations: 176.9 MB / 1.073 GB, free: 3.801 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0132/1.104, allocations: 7.014 MB / 1.08 GB, free: 3.711 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002041/1.106, allocations: 35.53 kB / 1.08 GB, free: 3.711 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003628/1.11, allocations: 0.7271 MB / 1.081 GB, free: 3.707 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01131/1.121, allocations: 2.199 MB / 1.083 GB, free: 3.684 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004945/1.126, allocations: 1.202 MB / 1.084 GB, free: 3.652 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.005048/1.131, allocations: 1.612 MB / 1.085 GB, free: 3.648 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001908/1.133, allocations: 0.8244 MB / 1.086 GB, free: 3.551 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003993/1.137, allocations: 1.261 MB / 1.087 GB, free: 3.547 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001951/1.139, allocations: 0.6725 MB / 1.088 GB, free: 3.543 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002008/1.139, allocations: 45.59 kB / 1.088 GB, free: 3.543 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00502/1.145, allocations: 1.333 MB / 1.089 GB, free: 3.539 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0005367/1.145, allocations: 318.5 kB / 1.09 GB, free: 3.539 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.00105/1.146, allocations: 268.8 kB / 1.09 GB, free: 19.51 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.003026/1.149, allocations: 1.6 MB / 1.092 GB, free: 19.38 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/1.149, allocations: 0 / 1.092 GB, free: 19.38 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.825e-06/1.149, allocations: 1.031 kB / 1.092 GB, free: 19.38 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.652e-05/1.149, allocations: 0 / 1.092 GB, free: 19.38 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.004576/1.154, allocations: 1.581 MB / 1.093 GB, free: 18.52 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/1.154, allocations: 8.438 kB / 1.093 GB, free: 18.52 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002254/1.154, allocations: 130.7 kB / 1.093 GB, free: 18.48 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003329/1.157, allocations: 0.6009 MB / 1.094 GB, free: 18.37 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002165/1.16, allocations: 0.9224 MB / 1.095 GB, free: 18.06 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006666/1.16, allocations: 194.2 kB / 1.095 GB, free: 18.05 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001748/1.16, allocations: 85.19 kB / 1.095 GB, free: 18.05 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002791/1.163, allocations: 1.261 MB / 1.096 GB, free: 17.97 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/1.163, allocations: 0 / 1.096 GB, free: 17.97 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.817e-05/1.163, allocations: 31.56 kB / 1.096 GB, free: 17.97 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.943e-05/1.163, allocations: 56.12 kB / 1.096 GB, free: 17.96 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003808/1.167, allocations: 1.612 MB / 1.098 GB, free: 17.93 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.007412/1.175, allocations: 4.096 MB / 1.102 GB, free: 16.3 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002594/1.177, allocations: 1.069 MB / 1.103 GB, free: 16.25 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007529/1.178, allocations: 289.3 kB / 1.103 GB, free: 16.05 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.405e-05/1.178, allocations: 43.34 kB / 1.103 GB, free: 16.02 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=76): time 3.266e-06/1.178, allocations: 0 / 1.103 GB, free: 16.02 MB / 0.7136 GB Notification: Performance of matching and sorting (n=76): time 0.004997/1.183, allocations: 1.904 MB / 1.105 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.871e-05/1.183, allocations: 66.59 kB / 1.105 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/1.184, allocations: 0.8103 MB / 1.106 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001487/1.185, allocations: 45.23 kB / 1.106 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003279/1.185, allocations: 443.9 kB / 1.106 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002192/1.185, allocations: 260 kB / 1.107 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.378e-05/1.185, allocations: 11.28 kB / 1.107 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001597/1.185, allocations: 340.4 kB / 1.107 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001372/1.187, allocations: 0.5601 MB / 1.108 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00146/1.188, allocations: 0.6979 MB / 1.108 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001482/1.19, allocations: 0.6128 MB / 1.109 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/1.19, allocations: 3.281 kB / 1.109 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003473/1.193, allocations: 1.424 MB / 1.11 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003044/1.194, allocations: 0.5617 MB / 1.111 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/1.194, allocations: 2.859 kB / 1.111 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.431e-05/1.194, allocations: 8.891 kB / 1.111 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001531/1.195, allocations: 283.2 kB / 1.111 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000804/1.196, allocations: 1.193 MB / 1.112 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001653/1.198, allocations: 196.2 kB / 1.112 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.306e-05/1.198, allocations: 36.14 kB / 1.112 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/1.198, allocations: 1.969 kB / 1.112 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003161/1.201, allocations: 1.32 MB / 1.114 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/1.201, allocations: 3.219 kB / 1.114 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/1.201, allocations: 5.766 kB / 1.114 GB, free: 12.72 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001226/1.202, allocations: 248.7 kB / 1.114 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.388e-05/1.202, allocations: 4.156 kB / 1.114 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001532/1.204, allocations: 206.6 kB / 1.114 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.715e-05/1.204, allocations: 41.2 kB / 1.114 GB, free: 12.66 MB / 0.7136 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.0008797/1.205, allocations: 375.5 kB / 1.115 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000245/1.205, allocations: 100.4 kB / 1.115 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003486/1.208, allocations: 1.434 MB / 1.116 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/1.209, allocations: 7.438 kB / 1.116 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/1.209, allocations: 4 kB / 1.116 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/1.209, allocations: 3.844 kB / 1.116 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00616/1.215, allocations: 2.988 MB / 1.119 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.806e-06/1.215, allocations: 5.75 kB / 1.119 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001233/1.216, allocations: 258.6 kB / 1.119 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.341e-05/1.216, allocations: 9.375 kB / 1.119 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.986e-05/1.216, allocations: 22.86 kB / 1.119 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006638/1.217, allocations: 1.19 MB / 1.12 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.615e-06/1.217, allocations: 4.562 kB / 1.12 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004316/1.221, allocations: 1.757 MB / 1.122 GB, free: 9.727 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009731/1.222, allocations: 308.1 kB / 1.122 GB, free: 9.531 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000152/1.222, allocations: 18.84 kB / 1.122 GB, free: 9.531 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001316/1.224, allocations: 167.8 kB / 1.123 GB, free: 9.473 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001555/1.224, allocations: 65.34 kB / 1.123 GB, free: 9.445 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.866e-05/1.224, allocations: 37.94 kB / 1.123 GB, free: 9.438 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0009508/1.225, allocations: 0.5596 MB / 1.123 GB, free: 9.246 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.483e-06/1.225, allocations: 1.859 kB / 1.123 GB, free: 9.246 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001668/1.227, allocations: 0.537 MB / 1.124 GB, free: 9.18 MB / 0.7136 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.004822/1.231, allocations: 3.622 MB / 1.127 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.005442/1.237, allocations: 2.151 MB / 1.129 GB, free: 6.07 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.035e-05/1.237, allocations: 0 / 1.129 GB, free: 6.07 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001785/1.239, allocations: 0.7058 MB / 1.13 GB, free: 5.945 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002887/1.242, allocations: 0.4984 MB / 1.131 GB, free: 5.77 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00715/1.249, allocations: 3.755 MB / 1.134 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001039/1.25, allocations: 1.114 MB / 1.135 GB, free: 2.363 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002137/1.252, allocations: 391.7 kB / 1.136 GB, free: 2.184 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007559/1.253, allocations: 389.3 kB / 1.136 GB, free: 2.137 MB / 0.7136 GB Notification: Performance of SimCode: time 2.484e-06/1.253, allocations: 0 / 1.136 GB, free: 2.137 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05601/1.309, allocations: 28.27 MB / 1.164 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002516/1.309, allocations: 266.8 kB / 1.164 GB, free: 13.07 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.025/4.334, allocations: 7.281 kB / 1.164 GB, free: 13.07 MB / 0.7448 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)