Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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_8_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="Buildings_8_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.001052/0.001052, allocations: 98.44 kB / 15.05 MB, free: 1.105 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.001654/0.001654, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.828/1.828, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.771/1.771, allocations: 292.6 MB / 0.5497 GB, free: 14.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006295/0.0006297, allocations: 14.53 kB / 0.6737 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2583/0.2589, allocations: 116.3 MB / 0.7872 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1097/0.3687, allocations: 110.7 MB / 0.8953 GB, free: 12.96 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.4905/0.8593, allocations: 19.73 MB / 0.9146 GB, free: 42.78 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004662/0.864, allocations: 97.5 kB / 0.9147 GB, free: 42.78 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004916/0.8689, allocations: 1.369 MB / 0.916 GB, free: 42.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01529/0.8842, allocations: 4.09 MB / 0.92 GB, free: 42.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.009663/0.8939, allocations: 2.599 MB / 0.9225 GB, free: 42.69 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01195/0.9059, allocations: 3.886 MB / 0.9263 GB, free: 42.68 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005055/0.911, allocations: 1.699 MB / 0.928 GB, free: 42.46 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005535/0.9166, allocations: 2.023 MB / 0.93 GB, free: 42.45 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003196/0.9198, allocations: 1.252 MB / 0.9312 GB, free: 42.44 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0005109/0.9204, allocations: 90.06 kB / 0.9313 GB, free: 42.44 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00598/0.9264, allocations: 1.338 MB / 0.9326 GB, free: 42.44 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0006266/0.927, allocations: 405.7 kB / 0.933 GB, free: 42.44 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001292/0.9283, allocations: 0.5555 MB / 0.9335 GB, free: 42.41 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.005625/0.9339, allocations: 3.118 MB / 0.9365 GB, free: 42.19 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.934, allocations: 0.5312 kB / 0.9365 GB, free: 42.19 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.845e-06/0.934, allocations: 0 / 0.9365 GB, free: 42.19 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001584/0.9341, allocations: 0.5 kB / 0.9365 GB, free: 42.19 MB / 0.7169 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.006649/0.9408, allocations: 2.709 MB / 0.9392 GB, free: 40.73 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.9409, allocations: 11.69 kB / 0.9392 GB, free: 40.73 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004512/0.9413, allocations: 220.5 kB / 0.9394 GB, free: 40.68 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004835/0.9462, allocations: 0.9537 MB / 0.9403 GB, free: 40.5 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005526/0.9517, allocations: 2.093 MB / 0.9424 GB, free: 40.02 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001054/0.9528, allocations: 327.1 kB / 0.9427 GB, free: 40 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003778/0.9532, allocations: 161.3 kB / 0.9429 GB, free: 40 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005018/0.9582, allocations: 1.96 MB / 0.9448 GB, free: 39.77 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.99e-05/0.9583, allocations: 4.844 kB / 0.9448 GB, free: 39.77 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000146/0.9584, allocations: 62.53 kB / 0.9448 GB, free: 39.77 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.385e-05/0.9585, allocations: 37.16 kB / 0.9449 GB, free: 39.77 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005064/0.9635, allocations: 1.896 MB / 0.9467 GB, free: 39.71 MB / 0.7169 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.01329/0.9769, allocations: 9.178 MB / 0.9557 GB, free: 35.29 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004397/0.9813, allocations: 1.321 MB / 0.957 GB, free: 34.97 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007718/0.9821, allocations: 1.724 MB / 0.9587 GB, free: 32.97 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.9821, allocations: 42.94 kB / 0.9587 GB, free: 32.93 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=76): time 3.387e-06/0.9821, allocations: 0 / 0.9587 GB, free: 32.93 MB / 0.7169 GB Notification: Performance of matching and sorting (n=76): time 0.008505/0.9906, allocations: 2.483 MB / 0.9611 GB, free: 32.02 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.9907, allocations: 85.17 kB / 0.9612 GB, free: 31.93 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004166/0.9949, allocations: 2.551 MB / 0.9637 GB, free: 31.3 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002361/0.9951, allocations: 44.8 kB / 0.9637 GB, free: 31.27 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007146/0.9959, allocations: 1.051 MB / 0.9648 GB, free: 30.91 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002628/0.9961, allocations: 269.9 kB / 0.965 GB, free: 30.71 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.648e-05/0.9962, allocations: 20.75 kB / 0.965 GB, free: 30.71 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.427e-05/0.9963, allocations: 348.1 kB / 0.9654 GB, free: 30.39 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001684/0.998, allocations: 0.6254 MB / 0.966 GB, free: 30.27 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001944/0.9999, allocations: 1.001 MB / 0.967 GB, free: 29.71 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001717/1.002, allocations: 0.6875 MB / 0.9676 GB, free: 29.6 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.213e-06/1.002, allocations: 7.062 kB / 0.9676 GB, free: 29.6 MB / 0.7169 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00492/1.007, allocations: 1.97 MB / 0.9696 GB, free: 29.1 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/1.007, allocations: 8.938 kB / 0.9696 GB, free: 29.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/1.007, allocations: 6.094 kB / 0.9696 GB, free: 29.1 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001542/1.008, allocations: 439.8 kB / 0.97 GB, free: 28.94 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001186/1.009, allocations: 310.4 kB / 0.9703 GB, free: 28.87 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001862/1.011, allocations: 1.538 MB / 0.9718 GB, free: 27.72 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0036/1.015, allocations: 488.9 kB / 0.9723 GB, free: 27.51 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000192/1.015, allocations: 62.23 kB / 0.9723 GB, free: 27.5 MB / 0.7169 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.001049/1.016, allocations: 460.5 kB / 0.9728 GB, free: 27.37 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005068/1.017, allocations: 250 kB / 0.973 GB, free: 27.24 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003474/1.02, allocations: 1.549 MB / 0.9745 GB, free: 26.81 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-05/1.02, allocations: 17.19 kB / 0.9745 GB, free: 26.8 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/1.02, allocations: 0 / 0.9745 GB, free: 26.8 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.898e-06/1.02, allocations: 7.984 kB / 0.9745 GB, free: 26.79 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007442/1.028, allocations: 3.725 MB / 0.9782 GB, free: 25.33 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.061e-05/1.028, allocations: 1.75 kB / 0.9782 GB, free: 25.33 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005915/1.028, allocations: 138.1 kB / 0.9783 GB, free: 25.3 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001406/1.03, allocations: 433.3 kB / 0.9787 GB, free: 25.14 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.227e-05/1.03, allocations: 35.36 kB / 0.9788 GB, free: 25.13 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002234/1.032, allocations: 1.621 MB / 0.9803 GB, free: 23.96 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/1.032, allocations: 2.562 kB / 0.9803 GB, free: 23.96 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005827/1.038, allocations: 2.331 MB / 0.9826 GB, free: 22.77 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00152/1.039, allocations: 0.5308 MB / 0.9831 GB, free: 22.44 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000364/1.04, allocations: 14.56 kB / 0.9831 GB, free: 22.44 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001832/1.042, allocations: 207.8 kB / 0.9833 GB, free: 22.37 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.325e-05/1.042, allocations: 60.42 kB / 0.9834 GB, free: 22.34 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.956e-05/1.042, allocations: 36.31 kB / 0.9834 GB, free: 22.34 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002858/1.045, allocations: 1.796 MB / 0.9852 GB, free: 21.91 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.8e-07/1.045, allocations: 0 / 0.9852 GB, free: 21.91 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002776/1.048, allocations: 0.6832 MB / 0.9859 GB, free: 21.82 MB / 0.7169 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.007473/1.055, allocations: 4.192 MB / 0.99 GB, free: 19.23 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.004148/1.059, allocations: 1.424 MB / 0.9913 GB, free: 18.69 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/1.059, allocations: 0 / 0.9913 GB, free: 18.69 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002194/1.061, allocations: 0.7153 MB / 0.992 GB, free: 18.12 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007176/1.069, allocations: 1.281 MB / 0.9933 GB, free: 17.07 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01079/1.079, allocations: 10.83 MB / 1.004 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008642/1.08, allocations: 1.536 MB / 1.005 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002603/1.083, allocations: 436.5 kB / 1.006 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001278/1.084, allocations: 0.902 MB / 1.007 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of SimCode: time 1.102e-06/1.084, allocations: 0 / 1.007 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1163/1.201, allocations: 68.27 MB / 1.073 GB, free: 1.082 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002164/1.201, allocations: 247.2 kB / 1.074 GB, free: 0.7695 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.979/5.18, allocations: 8 kB / 1.074 GB, free: 0.7617 MB / 0.7794 GB (rm -f Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.fmu > Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1) Environment - environmentSimulation: