Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="BuildingSystems_BuildingSystems_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.001191/0.001191, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0009975/0.0009976, allocations: 189.2 kB / 16.13 MB, free: 6.66 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.214/1.214, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00194/0.00194, allocations: 281.2 kB / 290.2 MB, free: 2.195 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8739/0.8739, allocations: 169.2 MB / 0.4977 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001558, allocations: 99.7 kB / 0.5946 GB, free: 28.53 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.1336, allocations: 86.98 MB / 0.6795 GB, free: 1.102 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.3617/0.4954, allocations: 131.3 MB / 0.8078 GB, free: 33.41 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02326/0.5187, allocations: 23.32 MB / 0.8305 GB, free: 25.59 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003753/0.5225, allocations: 115.2 kB / 0.8306 GB, free: 25.55 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003045/0.5255, allocations: 1.21 MB / 0.8318 GB, free: 24.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.008823/0.5344, allocations: 3.776 MB / 0.8355 GB, free: 22.56 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004267/0.5387, allocations: 1.959 MB / 0.8374 GB, free: 21.39 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00748/0.5462, allocations: 8.282 MB / 0.8455 GB, free: 16.91 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002221/0.5484, allocations: 1.965 MB / 0.8474 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003905/0.5523, allocations: 2.362 MB / 0.8497 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00206/0.5544, allocations: 1.859 MB / 0.8516 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002406/0.5546, allocations: 120.7 kB / 0.8517 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003551/0.5582, allocations: 1.74 MB / 0.8534 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000339/0.5586, allocations: 491.9 kB / 0.8538 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001132/0.5597, allocations: 1.334 MB / 0.8551 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00388/0.5636, allocations: 4.221 MB / 0.8593 GB, free: 8.18 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.5636, allocations: 0 / 0.8593 GB, free: 8.18 MB / 0.5606 GB Notification: Performance of FrontEnd: time 8.31e-07/0.5636, allocations: 0 / 0.8593 GB, free: 8.18 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.18e-05/0.5636, allocations: 0 / 0.8593 GB, free: 8.18 MB / 0.5606 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.004192/0.5678, allocations: 3.168 MB / 0.8624 GB, free: 5.824 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.5679, allocations: 12.02 kB / 0.8624 GB, free: 5.82 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001946/0.5681, allocations: 220.8 kB / 0.8626 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004086/0.5722, allocations: 0.8384 MB / 0.8634 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003157/0.5753, allocations: 2.263 MB / 0.8656 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008038/0.5762, allocations: 294.8 kB / 0.8659 GB, free: 2.699 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001687/0.5763, allocations: 160 kB / 0.866 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003205/0.5795, allocations: 1.938 MB / 0.8679 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.473e-05/0.5796, allocations: 0 / 0.8679 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001276/0.5797, allocations: 60 kB / 0.868 GB, free: 492 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.896e-05/0.5797, allocations: 47.94 kB / 0.868 GB, free: 444 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004288/0.584, allocations: 1.811 MB / 0.8698 GB, free: 14.62 MB / 0.5762 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.0109/0.5949, allocations: 9.003 MB / 0.8786 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004055/0.599, allocations: 1.189 MB / 0.8798 GB, free: 3.82 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001025/0.6001, allocations: 465.9 kB / 0.8802 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009641/0.601, allocations: 1.723 MB / 0.8819 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.6011, allocations: 54.25 kB / 0.8819 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=76): time 2.485e-06/0.6011, allocations: 0 / 0.8819 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of matching and sorting (n=76): time 0.007956/0.609, allocations: 2.328 MB / 0.8842 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.6091, allocations: 85.11 kB / 0.8843 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003518/0.6126, allocations: 2.489 MB / 0.8867 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001032/0.6127, allocations: 45.7 kB / 0.8868 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007449/0.6135, allocations: 1.041 MB / 0.8878 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002299/0.6137, allocations: 276.1 kB / 0.888 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000383/0.6141, allocations: 250.6 kB / 0.8883 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.6142, allocations: 353.9 kB / 0.8886 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001617/0.6158, allocations: 0.5842 MB / 0.8892 GB, free: 9.633 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001872/0.6177, allocations: 0.9737 MB / 0.8901 GB, free: 8.516 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002694/0.6204, allocations: 1.26 MB / 0.8914 GB, free: 7.148 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.6205, allocations: 4 kB / 0.8914 GB, free: 7.145 MB / 0.5919 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005858/0.6263, allocations: 2.04 MB / 0.8934 GB, free: 5.086 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.6263, allocations: 12 kB / 0.8934 GB, free: 5.074 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/0.6264, allocations: 11.98 kB / 0.8934 GB, free: 5.062 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001482/0.6279, allocations: 421.8 kB / 0.8938 GB, free: 4.645 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001175/0.629, allocations: 291.6 kB / 0.8941 GB, free: 4.359 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001881/0.6309, allocations: 1.491 MB / 0.8955 GB, free: 2.816 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002794/0.6337, allocations: 433.9 kB / 0.8959 GB, free: 2.391 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001234/0.6339, allocations: 67.97 kB / 0.896 GB, free: 2.324 MB / 0.5919 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.0007509/0.6346, allocations: 462.7 kB / 0.8964 GB, free: 1.863 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003672/0.635, allocations: 248.9 kB / 0.8967 GB, free: 1.617 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00331/0.6383, allocations: 1.501 MB / 0.8982 GB, free: 108 kB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-05/0.6384, allocations: 15.92 kB / 0.8982 GB, free: 92 kB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.6384, allocations: 0 / 0.8982 GB, free: 92 kB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.6384, allocations: 3.984 kB / 0.8982 GB, free: 88 kB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006637/0.645, allocations: 3.594 MB / 0.9017 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.658e-06/0.645, allocations: 4 kB / 0.9017 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005846/0.6456, allocations: 136.1 kB / 0.9018 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001369/0.647, allocations: 413.2 kB / 0.9022 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.032e-05/0.6471, allocations: 27.98 kB / 0.9022 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002303/0.6494, allocations: 1.573 MB / 0.9038 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.6494, allocations: 4 kB / 0.9038 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005389/0.6548, allocations: 1.935 MB / 0.9057 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000906/0.6557, allocations: 489.5 kB / 0.9061 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002971/0.656, allocations: 20 kB / 0.9061 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001685/0.6577, allocations: 171.7 kB / 0.9063 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.928e-05/0.6578, allocations: 59.86 kB / 0.9064 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.249e-05/0.6579, allocations: 47.91 kB / 0.9064 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002637/0.6606, allocations: 1.742 MB / 0.9081 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.11e-07/0.6606, allocations: 0 / 0.9081 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001719/0.6623, allocations: 0.6788 MB / 0.9088 GB, free: 4.961 MB / 0.6075 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.006757/0.6691, allocations: 2.989 MB / 0.9117 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00391/0.673, allocations: 1.346 MB / 0.913 GB, free: 0.5742 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.673, allocations: 0 / 0.913 GB, free: 0.5742 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002147/0.6751, allocations: 0.6609 MB / 0.9137 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005469/0.6806, allocations: 1.266 MB / 0.9149 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04004/0.7207, allocations: 19.77 MB / 0.9342 GB, free: 9.402 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001062/0.7218, allocations: 1.486 MB / 0.9357 GB, free: 7.883 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001983/0.7238, allocations: 438.8 kB / 0.9361 GB, free: 7.457 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001163/0.7249, allocations: 0.8976 MB / 0.9369 GB, free: 6.559 MB / 0.6387 GB Notification: Performance of SimCode: time 9.52e-07/0.725, allocations: 0 / 0.9369 GB, free: 6.559 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09037/0.8153, allocations: 65.48 MB / 1.001 GB, free: 5.957 MB / 0.7012 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002061/0.8156, allocations: 283.7 kB / 1.001 GB, free: 5.578 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.214/4.029, allocations: 3.875 kB / 1.001 GB, free: 5.578 MB / 0.7012 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Chillers_Validation_CarnotVerifyCOP_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Chillers_Validation_CarnotVerifyCOP.fmu > BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)