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.478/1.478, allocations: 252 MB / 267 MB, free: 10.97 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.001092/0.001092, allocations: 181.4 kB / 326.6 MB, free: 2.215 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.268/2.268, allocations: 205.4 MB / 0.5777 GB, free: 20.49 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.0009769/0.0009768, allocations: 86.77 kB / 0.6822 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000398/0.000398, allocations: 13.06 kB / 0.7964 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2756/0.276, allocations: 106.4 MB / 0.9003 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness): time 0.8684/1.144, allocations: 195.5 MB / 1.091 GB, free: 4.02 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01207/1.157, allocations: 6.668 MB / 1.098 GB, free: 3.848 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002058/1.159, allocations: 38.75 kB / 1.098 GB, free: 3.848 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001962/1.161, allocations: 0.4895 MB / 1.098 GB, free: 3.844 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.007393/1.168, allocations: 1.867 MB / 1.1 GB, free: 3.758 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003427/1.172, allocations: 0.9049 MB / 1.101 GB, free: 3.719 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.005562/1.177, allocations: 3.191 MB / 1.104 GB, free: 3.707 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001631/1.179, allocations: 0.7823 MB / 1.105 GB, free: 3.605 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00398/1.183, allocations: 1.444 MB / 1.106 GB, free: 3.594 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001616/1.184, allocations: 0.9152 MB / 1.107 GB, free: 3.59 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001522/1.185, allocations: 44.66 kB / 1.107 GB, free: 3.59 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005026/1.19, allocations: 1.54 MB / 1.109 GB, free: 3.566 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0005794/1.19, allocations: 338.5 kB / 1.109 GB, free: 3.566 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0008845/1.191, allocations: 282.4 kB / 1.109 GB, free: 19.53 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.00292/1.194, allocations: 1.708 MB / 1.111 GB, free: 19.39 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.724e-06/1.194, allocations: 0 / 1.111 GB, free: 19.39 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.715e-06/1.194, allocations: 0 / 1.111 GB, free: 19.39 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.869e-05/1.194, allocations: 0 / 1.111 GB, free: 19.39 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.004208/1.198, allocations: 1.616 MB / 1.112 GB, free: 18.5 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.78e-05/1.198, allocations: 11.78 kB / 1.113 GB, free: 18.5 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002377/1.199, allocations: 127.9 kB / 1.113 GB, free: 18.46 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00303/1.202, allocations: 0.5868 MB / 1.113 GB, free: 18.37 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001912/1.204, allocations: 0.9191 MB / 1.114 GB, free: 18.07 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006219/1.204, allocations: 198.3 kB / 1.114 GB, free: 18.05 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001435/1.204, allocations: 95.94 kB / 1.114 GB, free: 18.04 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002725/1.207, allocations: 1.263 MB / 1.116 GB, free: 17.96 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/1.207, allocations: 0 / 1.116 GB, free: 17.96 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.94e-05/1.207, allocations: 31.03 kB / 1.116 GB, free: 17.96 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.687e-05/1.207, allocations: 47.92 kB / 1.116 GB, free: 17.96 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00372/1.211, allocations: 1.609 MB / 1.117 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.007273/1.218, allocations: 4.104 MB / 1.121 GB, free: 16.3 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002516/1.221, allocations: 1.042 MB / 1.122 GB, free: 16.25 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001509/1.222, allocations: 0.6953 MB / 1.123 GB, free: 16.22 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001371/1.224, allocations: 0.6412 MB / 1.124 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.37e-05/1.224, allocations: 49.28 kB / 1.124 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=76): time 4.989e-06/1.224, allocations: 0 / 1.124 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of matching and sorting (n=76): time 0.005206/1.229, allocations: 1.907 MB / 1.125 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.545e-05/1.229, allocations: 64.16 kB / 1.126 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001138/1.23, allocations: 0.8109 MB / 1.126 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001279/1.23, allocations: 45.61 kB / 1.126 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003277/1.231, allocations: 440.1 kB / 1.127 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002191/1.231, allocations: 258.7 kB / 1.127 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.604e-05/1.231, allocations: 13.75 kB / 1.127 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001716/1.231, allocations: 338 kB / 1.127 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001807/1.233, allocations: 0.5615 MB / 1.128 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00202/1.235, allocations: 0.6909 MB / 1.129 GB, free: 14.44 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002/1.237, allocations: 0.6174 MB / 1.129 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.734e-06/1.237, allocations: 3.125 kB / 1.129 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.003821/1.241, allocations: 1.426 MB / 1.131 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001364/1.241, allocations: 152 kB / 1.131 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/1.241, allocations: 2.875 kB / 1.131 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.25e-05/1.241, allocations: 9.5 kB / 1.131 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001564/1.243, allocations: 286.7 kB / 1.131 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008184/1.244, allocations: 1.185 MB / 1.132 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001605/1.245, allocations: 208.1 kB / 1.132 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/1.245, allocations: 32.73 kB / 1.132 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/1.245, allocations: 6.188 kB / 1.132 GB, free: 12.65 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003337/1.249, allocations: 1.317 MB / 1.134 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.158e-06/1.249, allocations: 2.625 kB / 1.134 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/1.249, allocations: 3.094 kB / 1.134 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001238/1.25, allocations: 256.2 kB / 1.134 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/1.25, allocations: 3.188 kB / 1.134 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001517/1.251, allocations: 195.9 kB / 1.134 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.366e-05/1.252, allocations: 35.59 kB / 1.134 GB, free: 12.23 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 (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.0008518/1.252, allocations: 373.1 kB / 1.135 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002337/1.253, allocations: 106.7 kB / 1.135 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003424/1.256, allocations: 1.432 MB / 1.136 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/1.256, allocations: 9.406 kB / 1.136 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/1.256, allocations: 96 / 1.136 GB, free: 11.6 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.129e-05/1.256, allocations: 7.969 kB / 1.136 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005965/1.262, allocations: 2.925 MB / 1.139 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-05/1.262, allocations: 2.906 kB / 1.139 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001299/1.264, allocations: 255.4 kB / 1.139 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-05/1.264, allocations: 9.406 kB / 1.139 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.029e-05/1.264, allocations: 21.64 kB / 1.139 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008805/1.265, allocations: 1.199 MB / 1.14 GB, free: 9.258 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/1.265, allocations: 5.781 kB / 1.14 GB, free: 9.258 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003659/1.268, allocations: 1.533 MB / 1.142 GB, free: 8.703 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007266/1.269, allocations: 304.9 kB / 1.142 GB, free: 8.508 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001401/1.269, allocations: 24.81 kB / 1.142 GB, free: 8.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001238/1.27, allocations: 164.7 kB / 1.142 GB, free: 8.445 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001464/1.27, allocations: 66.2 kB / 1.142 GB, free: 8.418 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.386e-05/1.271, allocations: 36.38 kB / 1.142 GB, free: 8.41 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0009525/1.272, allocations: 0.5575 MB / 1.143 GB, free: 8.219 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.51e-07/1.272, allocations: 0 / 1.143 GB, free: 8.219 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00169/1.273, allocations: 0.5405 MB / 1.144 GB, free: 8.148 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 (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.004463/1.278, allocations: 2.241 MB / 1.146 GB, free: 7 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.005863/1.284, allocations: 2.145 MB / 1.148 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.161e-05/1.284, allocations: 1.859 kB / 1.148 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001901/1.286, allocations: 0.7063 MB / 1.148 GB, free: 6.348 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002982/1.289, allocations: 0.5134 MB / 1.149 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02139/1.31, allocations: 6.918 MB / 1.156 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001281/1.311, allocations: 1.098 MB / 1.157 GB, free: 2.434 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.003203/1.315, allocations: 393.5 kB / 1.157 GB, free: 2.254 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001196/1.316, allocations: 389 kB / 1.158 GB, free: 2.207 MB / 0.7136 GB Notification: Performance of SimCode: time 2.425e-06/1.316, allocations: 0 / 1.158 GB, free: 2.207 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08148/1.397, allocations: 28.73 MB / 1.186 GB, free: 6.082 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002969/1.398, allocations: 276.3 kB / 1.186 GB, free: 5.719 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.145/4.542, allocations: 0 / 1.186 GB, free: 5.719 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)