Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.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.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP",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 2.799/2.799, allocations: 287.3 MB / 302.3 MB, free: 8.277 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.001547/0.001547, allocations: 181.8 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.245/2.245, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001193/0.001193, allocations: 104 kB / 0.7428 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000722/0.0007221, allocations: 12.08 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.2619, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.8411/1.103, allocations: 110.6 MB / 1.086 GB, free: 31.6 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.04113/1.144, allocations: 19.75 MB / 1.106 GB, free: 31.36 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006278/1.151, allocations: 104 kB / 1.106 GB, free: 31.36 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.007958/1.159, allocations: 1.36 MB / 1.107 GB, free: 31.36 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.02128/1.18, allocations: 4.093 MB / 1.111 GB, free: 30.13 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01314/1.193, allocations: 2.609 MB / 1.114 GB, free: 29.36 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01166/1.205, allocations: 3.879 MB / 1.117 GB, free: 28.17 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004816/1.21, allocations: 1.694 MB / 1.119 GB, free: 27.57 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007605/1.217, allocations: 2.023 MB / 1.121 GB, free: 26.73 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004303/1.222, allocations: 1.254 MB / 1.122 GB, free: 26.24 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001069/1.223, allocations: 92.06 kB / 1.122 GB, free: 26.24 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007685/1.231, allocations: 1.335 MB / 1.124 GB, free: 25.95 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.00127/1.232, allocations: 407.3 kB / 1.124 GB, free: 25.75 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001918/1.234, allocations: 0.5554 MB / 1.125 GB, free: 25.44 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.007977/1.242, allocations: 3.119 MB / 1.128 GB, free: 24.81 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/1.242, allocations: 0 / 1.128 GB, free: 24.81 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.887e-06/1.242, allocations: 0 / 1.128 GB, free: 24.81 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002026/1.242, allocations: 0 / 1.128 GB, free: 24.81 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 388 * Number of variables: 388 Notification: Performance of Generate backend data structure: time 0.009618/1.252, allocations: 2.705 MB / 1.13 GB, free: 23.14 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.435e-05/1.252, allocations: 9.062 kB / 1.13 GB, free: 23.14 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008226/1.253, allocations: 226.5 kB / 1.13 GB, free: 22.99 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008414/1.261, allocations: 0.9473 MB / 1.131 GB, free: 22.77 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0075/1.269, allocations: 2.105 MB / 1.133 GB, free: 21.19 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001993/1.271, allocations: 320.6 kB / 1.134 GB, free: 21.07 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007109/1.272, allocations: 162.9 kB / 1.134 GB, free: 21.02 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008105/1.28, allocations: 1.959 MB / 1.136 GB, free: 19.83 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.577e-05/1.28, allocations: 1.594 kB / 1.136 GB, free: 19.83 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002697/1.28, allocations: 63.67 kB / 1.136 GB, free: 19.78 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.902e-05/1.28, allocations: 42.31 kB / 1.136 GB, free: 19.78 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009793/1.29, allocations: 1.884 MB / 1.138 GB, free: 18.88 MB / 0.6823 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.02239/1.312, allocations: 9.19 MB / 1.147 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008382/1.321, allocations: 1.327 MB / 1.148 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001245/1.322, allocations: 1.717 MB / 1.15 GB, free: 8.402 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.099e-05/1.322, allocations: 45.98 kB / 1.15 GB, free: 8.352 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=76): time 3.797e-06/1.322, allocations: 1.062 kB / 1.15 GB, free: 8.352 MB / 0.6823 GB Notification: Performance of matching and sorting (n=76): time 0.01624/1.338, allocations: 2.48 MB / 1.152 GB, free: 7.082 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/1.339, allocations: 86.7 kB / 1.152 GB, free: 6.988 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006651/1.345, allocations: 2.545 MB / 1.155 GB, free: 5.637 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003019/1.346, allocations: 45.14 kB / 1.155 GB, free: 5.594 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001118/1.347, allocations: 1.041 MB / 1.156 GB, free: 4.672 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004103/1.347, allocations: 275.9 kB / 1.156 GB, free: 4.434 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001361/1.347, allocations: 23.22 kB / 1.156 GB, free: 4.414 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.541e-05/1.347, allocations: 347.6 kB / 1.156 GB, free: 4.078 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003271/1.351, allocations: 0.627 MB / 1.157 GB, free: 3.789 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003766/1.354, allocations: 1.004 MB / 1.158 GB, free: 3.039 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003503/1.358, allocations: 0.6887 MB / 1.159 GB, free: 2.719 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-05/1.358, allocations: 3.188 kB / 1.159 GB, free: 2.719 MB / 0.6823 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.009861/1.368, allocations: 1.954 MB / 1.161 GB, free: 1.785 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.573e-05/1.368, allocations: 12.53 kB / 1.161 GB, free: 1.781 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.213e-05/1.368, allocations: 13.19 kB / 1.161 GB, free: 1.777 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002868/1.371, allocations: 444.2 kB / 1.161 GB, free: 1.559 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002605/1.374, allocations: 302.1 kB / 1.161 GB, free: 1.477 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003588/1.377, allocations: 1.545 MB / 1.163 GB, free: 184 kB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006256/1.384, allocations: 495.8 kB / 1.163 GB, free: 15.94 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004635/1.384, allocations: 59.69 kB / 1.163 GB, free: 15.92 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 initialization (112): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 13,1 8} Notification: Performance of prepare postOptimizeDAE: time 0.002602/1.387, allocations: 463.7 kB / 1.164 GB, free: 15.59 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001516/1.388, allocations: 242.5 kB / 1.164 GB, free: 15.47 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01195/1.4, allocations: 1.544 MB / 1.166 GB, free: 14.61 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.785e-05/1.4, allocations: 9.844 kB / 1.166 GB, free: 14.61 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.667e-05/1.4, allocations: 0 / 1.166 GB, free: 14.61 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.802e-05/1.401, allocations: 10.97 kB / 1.166 GB, free: 14.61 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02374/1.424, allocations: 3.728 MB / 1.169 GB, free: 11.59 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.874e-05/1.424, allocations: 4 kB / 1.169 GB, free: 11.58 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002101/1.427, allocations: 136.2 kB / 1.169 GB, free: 11.45 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004359/1.431, allocations: 437.9 kB / 1.17 GB, free: 11.02 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002943/1.431, allocations: 23.98 kB / 1.17 GB, free: 10.99 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007364/1.439, allocations: 1.624 MB / 1.171 GB, free: 9.316 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.265e-05/1.439, allocations: 8.062 kB / 1.171 GB, free: 9.309 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01916/1.458, allocations: 2.349 MB / 1.174 GB, free: 6.801 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00345/1.461, allocations: 0.5171 MB / 1.174 GB, free: 6.262 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001742/1.463, allocations: 24.08 kB / 1.174 GB, free: 6.238 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006937/1.47, allocations: 199.6 kB / 1.174 GB, free: 6.043 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003895/1.471, allocations: 59.88 kB / 1.174 GB, free: 5.984 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003348/1.471, allocations: 47.89 kB / 1.174 GB, free: 5.938 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.009389/1.481, allocations: 1.797 MB / 1.176 GB, free: 4.137 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.052e-06/1.481, allocations: 0 / 1.176 GB, free: 4.137 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.007103/1.488, allocations: 0.6944 MB / 1.177 GB, free: 3.441 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (63): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 15,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.01634/1.504, allocations: 4.17 MB / 1.181 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00842/1.513, allocations: 1.428 MB / 1.182 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.129e-05/1.513, allocations: 0 / 1.182 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.004824/1.518, allocations: 0.7192 MB / 1.183 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01186/1.529, allocations: 1.278 MB / 1.184 GB, free: 11.8 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02022/1.55, allocations: 10.84 MB / 1.195 GB, free: 0.5625 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002064/1.552, allocations: 1.532 MB / 1.196 GB, free: 15 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.003644/1.556, allocations: 436.5 kB / 1.197 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002354/1.558, allocations: 0.8937 MB / 1.198 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of SimCode: time 1.794e-06/1.558, allocations: 4 kB / 1.198 GB, free: 13.67 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2479/1.806, allocations: 68.28 MB / 1.264 GB, free: 10.08 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003939/1.806, allocations: 247.6 kB / 1.265 GB, free: 9.75 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.634/7.44, allocations: 3.938 kB / 1.265 GB, free: 9.746 MB / 0.7917 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.fmu > Buildings_8.0.0_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)