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.001086/0.001086, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.317/1.317, allocations: 205.1 MB / 222.4 MB, free: 4.594 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.597/1.597, allocations: 292.3 MB / 0.5489 GB, free: 13.54 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.001644/0.001644, allocations: 65.2 kB / 0.6716 GB, free: 25.95 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2015/0.2031, allocations: 114.5 MB / 0.7835 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.121/0.3242, allocations: 132.2 MB / 0.9126 GB, free: 8.816 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.4529/0.7772, allocations: 23.01 MB / 0.9351 GB, free: 44.61 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00479/0.782, allocations: 123.6 kB / 0.9352 GB, free: 44.61 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.004397/0.7865, allocations: 1.498 MB / 0.9367 GB, free: 44.58 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01029/0.7968, allocations: 4.055 MB / 0.9406 GB, free: 44.43 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.005115/0.8019, allocations: 2.191 MB / 0.9428 GB, free: 44.38 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.008467/0.8104, allocations: 6.476 MB / 0.9491 GB, free: 44.37 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003907/0.8143, allocations: 2.369 MB / 0.9514 GB, free: 44.07 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006847/0.8212, allocations: 2.755 MB / 0.9541 GB, free: 43.87 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004017/0.8252, allocations: 1.879 MB / 0.9559 GB, free: 43.52 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0008632/0.8261, allocations: 254 kB / 0.9562 GB, free: 43.52 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005675/0.8318, allocations: 1.932 MB / 0.9581 GB, free: 43.48 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0006857/0.8325, allocations: 0.5954 MB / 0.9586 GB, free: 43.38 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.002435/0.835, allocations: 1.468 MB / 0.9601 GB, free: 42.98 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.006674/0.8416, allocations: 4.341 MB / 0.9643 GB, free: 42.39 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.8417, allocations: 0 / 0.9643 GB, free: 42.39 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8417, allocations: 3.938 kB / 0.9643 GB, free: 42.38 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.863e-05/0.8418, allocations: 1 kB / 0.9643 GB, free: 42.38 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.006056/0.8478, allocations: 3.196 MB / 0.9674 GB, free: 40.82 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.8479, allocations: 8.938 kB / 0.9674 GB, free: 40.82 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002675/0.8482, allocations: 224.1 kB / 0.9677 GB, free: 40.77 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004524/0.8527, allocations: 0.8391 MB / 0.9685 GB, free: 40.59 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004489/0.8572, allocations: 2.217 MB / 0.9706 GB, free: 39.46 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001013/0.8582, allocations: 297.6 kB / 0.9709 GB, free: 39.39 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000396/0.8586, allocations: 158.7 kB / 0.9711 GB, free: 39.34 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004151/0.8628, allocations: 1.94 MB / 0.973 GB, free: 38.51 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.835e-05/0.8628, allocations: 6.812 kB / 0.973 GB, free: 38.5 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00015/0.863, allocations: 62.16 kB / 0.973 GB, free: 38.46 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.837e-05/0.863, allocations: 42.42 kB / 0.9731 GB, free: 38.45 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004689/0.8677, allocations: 1.816 MB / 0.9749 GB, free: 37.84 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.01105/0.8788, allocations: 9.072 MB / 0.9837 GB, free: 30.78 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003927/0.8828, allocations: 1.194 MB / 0.9849 GB, free: 30.16 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009692/0.8837, allocations: 464.6 kB / 0.9853 GB, free: 29.93 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006981/0.8844, allocations: 1.723 MB / 0.987 GB, free: 27.91 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.8845, allocations: 44.22 kB / 0.987 GB, free: 27.86 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=76): time 2.905e-06/0.8845, allocations: 0 / 0.987 GB, free: 27.86 MB / 0.7325 GB Notification: Performance of matching and sorting (n=76): time 0.008076/0.8926, allocations: 2.33 MB / 0.9893 GB, free: 26.6 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.777e-05/0.8926, allocations: 85.86 kB / 0.9894 GB, free: 26.5 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003353/0.896, allocations: 2.519 MB / 0.9919 GB, free: 25.17 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.000165/0.8961, allocations: 46.48 kB / 0.9919 GB, free: 25.12 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006237/0.8968, allocations: 1.038 MB / 0.9929 GB, free: 24.21 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002043/0.897, allocations: 270.1 kB / 0.9932 GB, free: 23.98 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003634/0.8974, allocations: 258.7 kB / 0.9934 GB, free: 23.83 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 5.569e-05/0.8974, allocations: 350 kB / 0.9938 GB, free: 23.49 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001611/0.899, allocations: 0.5895 MB / 0.9943 GB, free: 23.21 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001859/0.9009, allocations: 0.9714 MB / 0.9953 GB, free: 22.46 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0027/0.9036, allocations: 1.254 MB / 0.9965 GB, free: 21.66 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.9036, allocations: 6.562 kB / 0.9965 GB, free: 21.65 MB / 0.7325 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006939/0.9106, allocations: 2.044 MB / 0.9985 GB, free: 20.64 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.126e-05/0.9106, allocations: 7.688 kB / 0.9985 GB, free: 20.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.526e-05/0.9107, allocations: 12.53 kB / 0.9985 GB, free: 20.64 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001661/0.9123, allocations: 421.1 kB / 0.9989 GB, free: 20.43 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00122/0.9136, allocations: 294.2 kB / 0.9992 GB, free: 20.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001798/0.9154, allocations: 1.494 MB / 1.001 GB, free: 19.06 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003128/0.9185, allocations: 401.2 kB / 1.001 GB, free: 18.84 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001441/0.9187, allocations: 59.12 kB / 1.001 GB, free: 18.83 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.0008079/0.9195, allocations: 465.8 kB / 1.002 GB, free: 18.5 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004283/0.9199, allocations: 256 kB / 1.002 GB, free: 18.36 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003214/0.9231, allocations: 1.488 MB / 1.003 GB, free: 17.52 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.555e-05/0.9232, allocations: 9.5 kB / 1.003 GB, free: 17.52 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.9232, allocations: 2.562 kB / 1.003 GB, free: 17.52 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.9232, allocations: 7.969 kB / 1.003 GB, free: 17.52 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006626/0.9298, allocations: 3.61 MB / 1.007 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.325e-06/0.9299, allocations: 7.094 kB / 1.007 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005798/0.9304, allocations: 127.5 kB / 1.007 GB, free: 15.01 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001297/0.9318, allocations: 420.9 kB / 1.007 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.481e-05/0.9318, allocations: 25.61 kB / 1.007 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002237/0.9341, allocations: 1.569 MB / 1.009 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.9341, allocations: 9.438 kB / 1.009 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005865/0.94, allocations: 1.93 MB / 1.011 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001141/0.9411, allocations: 493.6 kB / 1.011 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004946/0.9416, allocations: 15.94 kB / 1.011 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001798/0.9434, allocations: 143.8 kB / 1.011 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.7e-05/0.9435, allocations: 67.8 kB / 1.011 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-05/0.9436, allocations: 39.97 kB / 1.012 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002783/0.9464, allocations: 1.769 MB / 1.013 GB, free: 9.266 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9464, allocations: 3.938 kB / 1.013 GB, free: 9.262 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00206/0.9485, allocations: 0.6905 MB / 1.014 GB, free: 8.57 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.00679/0.9553, allocations: 2.992 MB / 1.017 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004032/0.9593, allocations: 1.412 MB / 1.018 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.832e-06/0.9594, allocations: 0 / 1.018 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.00215/0.9615, allocations: 0.6569 MB / 1.019 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006074/0.9676, allocations: 1.357 MB / 1.02 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03612/1.004, allocations: 19.09 MB / 1.039 GB, free: 13.73 MB / 0.7638 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001121/1.005, allocations: 1.486 MB / 1.04 GB, free: 12.21 MB / 0.7638 GB Notification: Performance of simCode: alias equations: time 0.002091/1.007, allocations: 439.4 kB / 1.041 GB, free: 11.79 MB / 0.7638 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001169/1.008, allocations: 0.9092 MB / 1.042 GB, free: 10.88 MB / 0.7638 GB Notification: Performance of SimCode: time 7.61e-07/1.008, allocations: 0 / 1.042 GB, free: 10.88 MB / 0.7638 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1167/1.125, allocations: 68.65 MB / 1.109 GB, free: 7.113 MB / 0.8263 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.88/14.01, allocations: 12.72 kB / 1.109 GB, free: 7.105 MB / 0.8263 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)