Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="Buildings_latest_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.0007413/0.0007413, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.004401/0.004401, allocations: 169.1 kB / 16.26 MB, free: 6.652 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.294/1.294, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.486/2.486, allocations: 462.7 MB / 0.7364 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003096/0.0003096, allocations: 8.5 kB / 0.9029 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2564/0.2567, allocations: 159.6 MB / 1.059 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1109/0.3676, allocations: 129.4 MB / 1.185 GB, free: 3.082 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02825/0.3959, allocations: 23.06 MB / 1.208 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003708/0.3997, allocations: 111.2 kB / 1.208 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.003438/0.4031, allocations: 1.2 MB / 1.209 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01003/0.4132, allocations: 3.775 MB / 1.213 GB, free: 6.855 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004471/0.4177, allocations: 1.961 MB / 1.215 GB, free: 4.914 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.008804/0.4265, allocations: 8.279 MB / 1.223 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003012/0.4295, allocations: 1.909 MB / 1.224 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004571/0.4341, allocations: 2.29 MB / 1.227 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002866/0.437, allocations: 1.784 MB / 1.228 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0004971/0.4375, allocations: 88 kB / 1.229 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00402/0.4415, allocations: 1.711 MB / 1.23 GB, free: 4.758 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0006895/0.4422, allocations: 445.7 kB / 1.231 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.002114/0.4443, allocations: 1.295 MB / 1.232 GB, free: 3.012 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00593/0.4503, allocations: 4.139 MB / 1.236 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.4503, allocations: 0 / 1.236 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.803e-06/0.4503, allocations: 0 / 1.236 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001078/0.4504, allocations: 0 / 1.236 GB, free: 14.86 MB / 0.9981 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.005288/0.4557, allocations: 2.647 MB / 1.239 GB, free: 12.13 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.4558, allocations: 15.97 kB / 1.239 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003132/0.4561, allocations: 231.9 kB / 1.239 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004279/0.4604, allocations: 0.953 MB / 1.24 GB, free: 10.92 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003864/0.4643, allocations: 2.276 MB / 1.242 GB, free: 8.566 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009437/0.4652, allocations: 318.9 kB / 1.242 GB, free: 8.254 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002239/0.4654, allocations: 156 kB / 1.242 GB, free: 8.102 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003846/0.4693, allocations: 1.989 MB / 1.244 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.875e-05/0.4693, allocations: 4 kB / 1.244 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001475/0.4695, allocations: 71.94 kB / 1.244 GB, free: 5.973 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.592e-05/0.4695, allocations: 36 kB / 1.244 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004617/0.4741, allocations: 1.901 MB / 1.246 GB, free: 4.035 MB / 0.9981 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.439/0.9131, allocations: 9.079 MB / 1.255 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004125/0.9173, allocations: 1.3 MB / 1.256 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009728/0.9183, allocations: 485.6 kB / 1.257 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006638/0.919, allocations: 1.72 MB / 1.259 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.919e-05/0.919, allocations: 41.06 kB / 1.259 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=76): time 2.294e-06/0.919, allocations: 0 / 1.259 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=76): time 0.008008/0.927, allocations: 2.507 MB / 1.261 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.497e-05/0.927, allocations: 87.38 kB / 1.261 GB, free: 178.8 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003237/0.9303, allocations: 2.51 MB / 1.264 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.242e-05/0.9304, allocations: 45.64 kB / 1.264 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006829/0.9311, allocations: 1.038 MB / 1.265 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001956/0.9313, allocations: 277.8 kB / 1.265 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001225/0.9314, allocations: 86.97 kB / 1.265 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.588e-05/0.9315, allocations: 353.2 kB / 1.265 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001656/0.9331, allocations: 0.628 MB / 1.266 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00185/0.935, allocations: 1.008 MB / 1.267 GB, free: 177.4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003002/0.938, allocations: 1.327 MB / 1.268 GB, free: 177.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.938, allocations: 2.969 kB / 1.268 GB, free: 177.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006565/0.9446, allocations: 2.189 MB / 1.27 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.9446, allocations: 16.86 kB / 1.27 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/0.9447, allocations: 7.625 kB / 1.27 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001565/0.9462, allocations: 434.6 kB / 1.271 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001253/0.9475, allocations: 304.2 kB / 1.271 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001999/0.9495, allocations: 1.554 MB / 1.273 GB, free: 175.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003019/0.9525, allocations: 474.7 kB / 1.273 GB, free: 175.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001495/0.9527, allocations: 65.44 kB / 1.273 GB, free: 175.6 MB / 0.9981 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.0008344/0.9535, allocations: 465 kB / 1.274 GB, free: 175.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003601/0.9539, allocations: 244.3 kB / 1.274 GB, free: 175.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003536/0.9574, allocations: 1.547 MB / 1.275 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-05/0.9575, allocations: 14.67 kB / 1.275 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.9575, allocations: 1.062 kB / 1.275 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.206e-05/0.9575, allocations: 4.031 kB / 1.275 GB, free: 175.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007146/0.9647, allocations: 3.69 MB / 1.279 GB, free: 174.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.216e-06/0.9647, allocations: 6.625 kB / 1.279 GB, free: 174.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006016/0.9653, allocations: 139.6 kB / 1.279 GB, free: 174.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001443/0.9667, allocations: 440.2 kB / 1.279 GB, free: 174.5 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-05/0.9668, allocations: 30.2 kB / 1.279 GB, free: 174.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002336/0.9692, allocations: 1.633 MB / 1.281 GB, free: 173.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.9692, allocations: 7.344 kB / 1.281 GB, free: 173.2 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00586/0.975, allocations: 2.073 MB / 1.283 GB, free: 172.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008254/0.9759, allocations: 0.509 MB / 1.284 GB, free: 172 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002681/0.9762, allocations: 20.5 kB / 1.284 GB, free: 172 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001733/0.9779, allocations: 198.6 kB / 1.284 GB, free: 172 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.903e-05/0.978, allocations: 48.67 kB / 1.284 GB, free: 172 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-05/0.9781, allocations: 43.48 kB / 1.284 GB, free: 172 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0027/0.9808, allocations: 1.769 MB / 1.286 GB, free: 171.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.21e-07/0.9808, allocations: 4.781 kB / 1.286 GB, free: 171.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001719/0.9825, allocations: 0.6815 MB / 1.286 GB, free: 171.2 MB / 0.9981 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.9892, allocations: 3.124 MB / 1.289 GB, free: 169.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003873/0.9931, allocations: 1.429 MB / 1.291 GB, free: 169.3 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.9931, allocations: 1.219 kB / 1.291 GB, free: 169.3 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002244/0.9953, allocations: 0.7242 MB / 1.291 GB, free: 169.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006589/1.002, allocations: 1.319 MB / 1.293 GB, free: 168.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03555/1.037, allocations: 20.24 MB / 1.313 GB, free: 153.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007454/1.038, allocations: 1.49 MB / 1.314 GB, free: 151.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001748/1.04, allocations: 433.3 kB / 1.314 GB, free: 151.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009278/1.041, allocations: 0.9171 MB / 1.315 GB, free: 150.6 MB / 0.9981 GB Notification: Performance of SimCode: time 5.51e-07/1.041, allocations: 0 / 1.315 GB, free: 150.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.666/1.707, allocations: 68.81 MB / 1.382 GB, free: 82.58 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002139/1.707, allocations: 276.8 kB / 1.383 GB, free: 82.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.597/5.304, allocations: 1.75 kB / 1.383 GB, free: 82.2 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.fmu > Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)