Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="Buildings_9_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="Buildings_9_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 191.7 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.332/1.332, allocations: 222.9 MB / 239.8 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.236/2.236, allocations: 390.2 MB / 0.6643 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 63.91 kB / 0.812 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6327/0.6341, allocations: 140.4 MB / 0.949 GB, free: 9.387 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1103/0.7445, allocations: 131.4 MB / 1.077 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02902/0.7735, allocations: 23.31 MB / 1.1 GB, free: 7.062 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003804/0.7773, allocations: 111.3 kB / 1.1 GB, free: 6.953 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.004494/0.7819, allocations: 1.2 MB / 1.101 GB, free: 5.746 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.01082/0.7927, allocations: 3.778 MB / 1.105 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004848/0.7976, allocations: 1.965 MB / 1.107 GB, free: 8 kB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.008856/0.8065, allocations: 8.279 MB / 1.115 GB, free: 7.707 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002705/0.8092, allocations: 1.968 MB / 1.117 GB, free: 5.68 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004069/0.8133, allocations: 2.36 MB / 1.119 GB, free: 3.309 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002145/0.8154, allocations: 1.866 MB / 1.121 GB, free: 1.434 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002482/0.8157, allocations: 120 kB / 1.121 GB, free: 1.316 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003509/0.8192, allocations: 1.746 MB / 1.123 GB, free: 15.57 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0004221/0.8196, allocations: 493.6 kB / 1.123 GB, free: 15.08 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.001255/0.8209, allocations: 1.325 MB / 1.125 GB, free: 13.75 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.004097/0.825, allocations: 4.234 MB / 1.129 GB, free: 9.504 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.825, allocations: 0 / 1.129 GB, free: 9.504 MB / 0.8887 GB Notification: Performance of FrontEnd: time 8.51e-07/0.825, allocations: 0 / 1.129 GB, free: 9.504 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.422e-05/0.8251, allocations: 0 / 1.129 GB, free: 9.504 MB / 0.8887 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.004872/0.8299, allocations: 3.183 MB / 1.132 GB, free: 6.234 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.83, allocations: 12.03 kB / 1.132 GB, free: 6.223 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002491/0.8302, allocations: 219.8 kB / 1.132 GB, free: 5.996 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004343/0.8346, allocations: 0.8357 MB / 1.133 GB, free: 5.156 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003923/0.8385, allocations: 2.28 MB / 1.135 GB, free: 2.801 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009199/0.8395, allocations: 290.8 kB / 1.135 GB, free: 2.516 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002111/0.8397, allocations: 168 kB / 1.136 GB, free: 2.352 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003917/0.8436, allocations: 1.934 MB / 1.138 GB, free: 360 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.887e-05/0.8437, allocations: 3.938 kB / 1.138 GB, free: 356 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001459/0.8438, allocations: 67.98 kB / 1.138 GB, free: 288 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.955e-05/0.8438, allocations: 36 kB / 1.138 GB, free: 252 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004552/0.8484, allocations: 1.815 MB / 1.139 GB, free: 14.43 MB / 0.9044 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.01206/0.8605, allocations: 9.016 MB / 1.148 GB, free: 4.812 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00421/0.8647, allocations: 1.189 MB / 1.149 GB, free: 3.609 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00105/0.8658, allocations: 453.4 kB / 1.15 GB, free: 3.16 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001111/0.8669, allocations: 1.726 MB / 1.151 GB, free: 1.047 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.809e-05/0.8669, allocations: 46.5 kB / 1.152 GB, free: 0.9922 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=76): time 3.788e-06/0.8669, allocations: 3.984 kB / 1.152 GB, free: 0.9883 MB / 0.9044 GB Notification: Performance of matching and sorting (n=76): time 0.008309/0.8752, allocations: 2.332 MB / 1.154 GB, free: 14.6 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.205e-05/0.8753, allocations: 85.11 kB / 1.154 GB, free: 14.5 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003452/0.8788, allocations: 2.493 MB / 1.156 GB, free: 11.98 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 8.647e-05/0.8789, allocations: 45.7 kB / 1.156 GB, free: 11.93 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.000815/0.8797, allocations: 1.045 MB / 1.157 GB, free: 10.88 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002163/0.8799, allocations: 264.2 kB / 1.158 GB, free: 10.62 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004057/0.8803, allocations: 254.6 kB / 1.158 GB, free: 10.37 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.8804, allocations: 353.9 kB / 1.158 GB, free: 10.02 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001731/0.8822, allocations: 0.5919 MB / 1.159 GB, free: 9.422 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002038/0.8842, allocations: 0.9699 MB / 1.16 GB, free: 8.301 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002962/0.8872, allocations: 1.26 MB / 1.161 GB, free: 6.938 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.331e-06/0.8872, allocations: 8 kB / 1.161 GB, free: 6.93 MB / 0.92 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00615/0.8934, allocations: 2.044 MB / 1.163 GB, free: 4.871 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.8934, allocations: 8 kB / 1.163 GB, free: 4.863 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.296e-05/0.8934, allocations: 12.06 kB / 1.163 GB, free: 4.852 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001479/0.8949, allocations: 421.2 kB / 1.163 GB, free: 4.434 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/0.8961, allocations: 287.6 kB / 1.164 GB, free: 4.152 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002006/0.8982, allocations: 1.502 MB / 1.165 GB, free: 2.602 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002701/0.9009, allocations: 439.2 kB / 1.166 GB, free: 2.172 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001183/0.901, allocations: 59.97 kB / 1.166 GB, free: 2.113 MB / 0.92 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,13), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0006935/0.9017, allocations: 461.4 kB / 1.166 GB, free: 1.652 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003505/0.9021, allocations: 245 kB / 1.166 GB, free: 1.41 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003414/0.9055, allocations: 1.502 MB / 1.168 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.959e-05/0.9055, allocations: 19.98 kB / 1.168 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.9055, allocations: 0 / 1.168 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.9055, allocations: 7.922 kB / 1.168 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006813/0.9124, allocations: 3.588 MB / 1.171 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/0.9124, allocations: 4 kB / 1.171 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006098/0.913, allocations: 132.2 kB / 1.171 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001378/0.9144, allocations: 425.2 kB / 1.172 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.868e-05/0.9145, allocations: 23.98 kB / 1.172 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002346/0.9168, allocations: 1.575 MB / 1.173 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.9168, allocations: 4 kB / 1.173 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005417/0.9222, allocations: 1.924 MB / 1.175 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007071/0.923, allocations: 489.5 kB / 1.176 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002866/0.9233, allocations: 27.88 kB / 1.176 GB, free: 7.434 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001702/0.925, allocations: 171.7 kB / 1.176 GB, free: 7.266 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.57e-05/0.9251, allocations: 63.86 kB / 1.176 GB, free: 7.203 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.998e-05/0.9251, allocations: 35.97 kB / 1.176 GB, free: 7.168 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.002611/0.9278, allocations: 1.753 MB / 1.178 GB, free: 5.41 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.2e-07/0.9278, allocations: 4 kB / 1.178 GB, free: 5.406 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001646/0.9294, allocations: 0.6828 MB / 1.178 GB, free: 4.723 MB / 0.9356 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,15), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006642/0.9361, allocations: 2.984 MB / 1.181 GB, free: 1.672 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003807/0.9399, allocations: 1.338 MB / 1.183 GB, free: 340 kB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.9399, allocations: 4.062 kB / 1.183 GB, free: 336 kB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.002194/0.9421, allocations: 0.6677 MB / 1.183 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005057/0.9472, allocations: 1.266 MB / 1.185 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0391/0.9863, allocations: 19.64 MB / 1.204 GB, free: 9.289 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009245/0.9872, allocations: 1.49 MB / 1.205 GB, free: 7.766 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.001874/0.9891, allocations: 432.6 kB / 1.206 GB, free: 7.34 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001088/0.9902, allocations: 0.9015 MB / 1.206 GB, free: 6.438 MB / 0.9669 GB Notification: Performance of SimCode: time 9.72e-07/0.9902, allocations: 0 / 1.206 GB, free: 6.438 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.183/2.173, allocations: 65.49 MB / 1.27 GB, free: 286.6 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001632/2.173, allocations: 271.1 kB / 1.271 GB, free: 286.3 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.416/5.589, allocations: 0 / 1.271 GB, free: 286.3 MB / 1.014 GB (rm -f Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.fmu > Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)