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.001083/0.001083, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.0008617/0.0008617, allocations: 194.4 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.189/1.189, allocations: 205.1 MB / 222.1 MB, free: 4.695 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.438/1.438, allocations: 292.3 MB / 0.5486 GB, free: 13.64 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.001182/0.001182, allocations: 67.2 kB / 0.6711 GB, free: 26.46 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1517, allocations: 114.5 MB / 0.783 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.09231/0.2441, allocations: 131.1 MB / 0.911 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.3087/0.5528, allocations: 22.86 MB / 0.9333 GB, free: 44.29 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003261/0.5561, allocations: 112.8 kB / 0.9334 GB, free: 44.29 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.003051/0.5592, allocations: 1.283 MB / 0.9346 GB, free: 44.27 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.008015/0.5672, allocations: 3.782 MB / 0.9383 GB, free: 44.12 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003766/0.571, allocations: 2.015 MB / 0.9403 GB, free: 44.07 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005864/0.5768, allocations: 6.539 MB / 0.9467 GB, free: 44.05 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002948/0.5798, allocations: 2.333 MB / 0.949 GB, free: 43.77 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004982/0.5848, allocations: 2.776 MB / 0.9517 GB, free: 43.58 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002045/0.5869, allocations: 1.941 MB / 0.9536 GB, free: 43.22 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002796/0.5871, allocations: 248.3 kB / 0.9538 GB, free: 43.22 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003224/0.5904, allocations: 1.965 MB / 0.9557 GB, free: 43.09 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003775/0.5908, allocations: 0.6036 MB / 0.9563 GB, free: 42.97 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001119/0.5919, allocations: 1.459 MB / 0.9577 GB, free: 42.54 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003778/0.5957, allocations: 4.367 MB / 0.962 GB, free: 41.95 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.5957, allocations: 0 / 0.962 GB, free: 41.95 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5957, allocations: 5.25 kB / 0.962 GB, free: 41.94 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.671e-05/0.5957, allocations: 0 / 0.962 GB, free: 41.94 MB / 0.7325 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.004053/0.5998, allocations: 3.182 MB / 0.9651 GB, free: 40.38 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.5998, allocations: 9.031 kB / 0.9651 GB, free: 40.38 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002018/0.6, allocations: 222.1 kB / 0.9653 GB, free: 40.33 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00361/0.6036, allocations: 0.8456 MB / 0.9662 GB, free: 40.15 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003074/0.6067, allocations: 2.28 MB / 0.9684 GB, free: 39.54 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007418/0.6075, allocations: 293.5 kB / 0.9687 GB, free: 39.52 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001922/0.6077, allocations: 160.4 kB / 0.9688 GB, free: 39.52 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003088/0.6108, allocations: 1.938 MB / 0.9707 GB, free: 38.73 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.693e-05/0.6108, allocations: 1.781 kB / 0.9707 GB, free: 38.73 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001246/0.6109, allocations: 63.62 kB / 0.9708 GB, free: 38.68 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.005e-05/0.611, allocations: 41.84 kB / 0.9708 GB, free: 38.68 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003501/0.6145, allocations: 1.819 MB / 0.9726 GB, free: 38.06 MB / 0.7325 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.007926/0.6224, allocations: 9.025 MB / 0.9814 GB, free: 31.52 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003313/0.6257, allocations: 1.184 MB / 0.9826 GB, free: 30.91 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008001/0.6265, allocations: 472.5 kB / 0.983 GB, free: 30.68 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005692/0.6271, allocations: 1.717 MB / 0.9847 GB, free: 28.66 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.621e-05/0.6271, allocations: 41.59 kB / 0.9847 GB, free: 28.61 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=76): time 1.884e-06/0.6271, allocations: 0 / 0.9847 GB, free: 28.61 MB / 0.7325 GB Notification: Performance of matching and sorting (n=76): time 0.006417/0.6336, allocations: 2.337 MB / 0.987 GB, free: 27.34 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.123e-05/0.6336, allocations: 82.33 kB / 0.9871 GB, free: 27.25 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002474/0.6361, allocations: 2.496 MB / 0.9895 GB, free: 25.93 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.967e-05/0.6362, allocations: 48.64 kB / 0.9896 GB, free: 25.88 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004927/0.6367, allocations: 1.043 MB / 0.9906 GB, free: 24.96 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000138/0.6368, allocations: 266.8 kB / 0.9909 GB, free: 24.74 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003175/0.6371, allocations: 260.3 kB / 0.9911 GB, free: 24.59 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 4.652e-05/0.6372, allocations: 344.5 kB / 0.9914 GB, free: 24.25 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001341/0.6385, allocations: 0.5854 MB / 0.992 GB, free: 23.98 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00152/0.64, allocations: 0.9716 MB / 0.993 GB, free: 23.23 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002178/0.6422, allocations: 1.265 MB / 0.9942 GB, free: 22.41 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.6422, allocations: 2.781 kB / 0.9942 GB, free: 22.41 MB / 0.7325 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.004773/0.647, allocations: 2.051 MB / 0.9962 GB, free: 21.4 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.6471, allocations: 9.281 kB / 0.9962 GB, free: 21.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.6471, allocations: 5.844 kB / 0.9962 GB, free: 21.4 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001202/0.6483, allocations: 416.6 kB / 0.9966 GB, free: 21.19 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009816/0.6493, allocations: 295.6 kB / 0.9969 GB, free: 21.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001459/0.6507, allocations: 1.496 MB / 0.9984 GB, free: 19.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002317/0.6531, allocations: 445.8 kB / 0.9988 GB, free: 19.59 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/0.6532, allocations: 62.03 kB / 0.9988 GB, free: 19.57 MB / 0.7325 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.0004987/0.6537, allocations: 460.2 kB / 0.9993 GB, free: 19.24 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002778/0.654, allocations: 248.8 kB / 0.9995 GB, free: 19.11 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00264/0.6566, allocations: 1.503 MB / 1.001 GB, free: 18.26 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.365e-05/0.6566, allocations: 11.09 kB / 1.001 GB, free: 18.26 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.6566, allocations: 3.984 kB / 1.001 GB, free: 18.25 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.176e-06/0.6567, allocations: 3.984 kB / 1.001 GB, free: 18.25 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00538/0.662, allocations: 3.59 MB / 1.005 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.6621, allocations: 6.406 kB / 1.005 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005019/0.6626, allocations: 131.3 kB / 1.005 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001082/0.6636, allocations: 424 kB / 1.005 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.319e-05/0.6637, allocations: 28.06 kB / 1.005 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001788/0.6655, allocations: 1.564 MB / 1.007 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.6655, allocations: 6.688 kB / 1.007 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004404/0.6699, allocations: 1.928 MB / 1.008 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005723/0.6705, allocations: 493.5 kB / 1.009 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002892/0.6708, allocations: 19.98 kB / 1.009 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001476/0.6723, allocations: 167.8 kB / 1.009 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.448e-05/0.6724, allocations: 59.8 kB / 1.009 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.445e-05/0.6724, allocations: 43.97 kB / 1.009 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001876/0.6743, allocations: 1.75 MB / 1.011 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.31e-07/0.6743, allocations: 0 / 1.011 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001326/0.6757, allocations: 0.6866 MB / 1.012 GB, free: 9.672 MB / 0.7325 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.005313/0.681, allocations: 2.979 MB / 1.015 GB, free: 6.699 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003076/0.6841, allocations: 1.404 MB / 1.016 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.6841, allocations: 4.062 kB / 1.016 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001742/0.6858, allocations: 0.6606 MB / 1.017 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00422/0.69, allocations: 1.357 MB / 1.018 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03408/0.7241, allocations: 19.66 MB / 1.037 GB, free: 14.29 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000848/0.725, allocations: 1.486 MB / 1.039 GB, free: 12.77 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001494/0.7265, allocations: 436.6 kB / 1.039 GB, free: 12.34 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009308/0.7274, allocations: 0.9015 MB / 1.04 GB, free: 11.44 MB / 0.7637 GB Notification: Performance of SimCode: time 2.9e-07/0.7274, allocations: 0 / 1.04 GB, free: 11.44 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.455/5.183, allocations: 67.82 MB / 1.106 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003695/5.183, allocations: 267.2 kB / 1.106 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.4/8.583, allocations: 0 / 1.106 GB, free: 8.277 MB / 0.8262 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/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)