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.005282/0.005282, allocations: 101 kB / 15.73 MB, free: 6.055 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.00133/0.00133, allocations: 195.2 kB / 16.67 MB, free: 5.969 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.414/1.414, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002508/0.002508, allocations: 287.8 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.013/1.013, allocations: 169.3 MB / 0.4983 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002731/0.002731, allocations: 95.86 kB / 0.681 GB, free: 7.473 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.407/0.4098, allocations: 86.97 MB / 0.7659 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1371/0.5469, allocations: 132.2 MB / 0.895 GB, free: 15.24 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.03281/0.5798, allocations: 23.22 MB / 0.9177 GB, free: 7.961 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003664/0.5835, allocations: 123.2 kB / 0.9178 GB, free: 7.84 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.003983/0.5875, allocations: 1.494 MB / 0.9192 GB, free: 6.336 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01077/0.5983, allocations: 4.097 MB / 0.9232 GB, free: 2.219 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.005719/0.604, allocations: 2.175 MB / 0.9254 GB, free: 64 kB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.009697/0.6137, allocations: 6.524 MB / 0.9317 GB, free: 9.52 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004365/0.6181, allocations: 2.355 MB / 0.934 GB, free: 7.102 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006628/0.6248, allocations: 2.747 MB / 0.9367 GB, free: 4.355 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00361/0.6284, allocations: 1.886 MB / 0.9386 GB, free: 2.461 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0008279/0.6293, allocations: 244 kB / 0.9388 GB, free: 2.223 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004791/0.6341, allocations: 1.934 MB / 0.9407 GB, free: 292 kB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0009689/0.635, allocations: 0.5992 MB / 0.9413 GB, free: 15.68 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002806/0.6379, allocations: 1.45 MB / 0.9427 GB, free: 14.23 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.008596/0.6465, allocations: 4.4 MB / 0.947 GB, free: 9.816 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.6465, allocations: 0 / 0.947 GB, free: 9.816 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6465, allocations: 3.938 kB / 0.947 GB, free: 9.812 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001166/0.6466, allocations: 8 kB / 0.947 GB, free: 9.805 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.007502/0.6542, allocations: 3.254 MB / 0.9502 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.6542, allocations: 12.03 kB / 0.9502 GB, free: 6.449 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004579/0.6547, allocations: 220 kB / 0.9504 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00472/0.6594, allocations: 0.853 MB / 0.9512 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004982/0.6644, allocations: 2.348 MB / 0.9535 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001252/0.6646, allocations: 123 kB / 0.9536 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002688/0.6648, allocations: 164 kB / 0.9538 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004078/0.6689, allocations: 1.923 MB / 0.9557 GB, free: 0.6758 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.935e-05/0.669, allocations: 3.938 kB / 0.9557 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001692/0.6691, allocations: 60 kB / 0.9557 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.891e-05/0.6692, allocations: 43.94 kB / 0.9558 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3052/0.9744, allocations: 1.779 MB / 0.9575 GB, free: 184 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.01134/0.9857, allocations: 8.991 MB / 0.9663 GB, free: 178 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003914/0.9897, allocations: 1.203 MB / 0.9675 GB, free: 177.6 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000956/0.9906, allocations: 452.7 kB / 0.9679 GB, free: 177.5 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007191/0.9914, allocations: 1.729 MB / 0.9696 GB, free: 175.5 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.9914, allocations: 38.69 kB / 0.9696 GB, free: 175.4 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=76): time 2.685e-06/0.9914, allocations: 0 / 0.9696 GB, free: 175.4 MB / 0.7169 GB Notification: Performance of matching and sorting (n=76): time 0.007754/0.9992, allocations: 2.34 MB / 0.9719 GB, free: 174.7 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.784e-05/0.9992, allocations: 85.05 kB / 0.972 GB, free: 174.6 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002992/1.002, allocations: 2.498 MB / 0.9744 GB, free: 173.3 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001033/1.002, allocations: 45.64 kB / 0.9745 GB, free: 173.3 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006023/1.003, allocations: 1.053 MB / 0.9755 GB, free: 172.4 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001837/1.003, allocations: 282.6 kB / 0.9758 GB, free: 172.2 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003287/1.003, allocations: 250.3 kB / 0.976 GB, free: 172.1 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.414e-05/1.004, allocations: 353.8 kB / 0.9763 GB, free: 171.7 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001421/1.005, allocations: 0.5719 MB / 0.9769 GB, free: 171.5 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001606/1.007, allocations: 0.9469 MB / 0.9778 GB, free: 170.7 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002349/1.009, allocations: 1.245 MB / 0.979 GB, free: 170 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.68e-06/1.009, allocations: 7.875 kB / 0.9791 GB, free: 170 MB / 0.7169 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00531/1.014, allocations: 2.026 MB / 0.981 GB, free: 169 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/1.014, allocations: 7.844 kB / 0.981 GB, free: 169 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/1.014, allocations: 11.67 kB / 0.9811 GB, free: 169 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001374/1.016, allocations: 423.7 kB / 0.9815 GB, free: 168.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001126/1.017, allocations: 290.1 kB / 0.9817 GB, free: 168.7 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001653/1.018, allocations: 1.499 MB / 0.9832 GB, free: 167.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002491/1.021, allocations: 368.3 kB / 0.9835 GB, free: 167 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001168/1.021, allocations: 59.95 kB / 0.9836 GB, free: 167 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 (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.0006808/1.022, allocations: 464.1 kB / 0.984 GB, free: 166.5 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003387/1.022, allocations: 266.1 kB / 0.9843 GB, free: 166.3 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00296/1.025, allocations: 1.501 MB / 0.9858 GB, free: 164.7 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.572e-05/1.025, allocations: 11.98 kB / 0.9858 GB, free: 164.7 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/1.025, allocations: 0 / 0.9858 GB, free: 164.7 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/1.025, allocations: 7.984 kB / 0.9858 GB, free: 164.7 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006016/1.031, allocations: 3.596 MB / 0.9893 GB, free: 161.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/1.031, allocations: 4 kB / 0.9893 GB, free: 161.1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005715/1.032, allocations: 124.1 kB / 0.9894 GB, free: 160.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001254/1.033, allocations: 416 kB / 0.9898 GB, free: 160.5 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.496e-05/1.033, allocations: 27.97 kB / 0.9898 GB, free: 160.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002063/1.035, allocations: 1.577 MB / 0.9914 GB, free: 158.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/1.035, allocations: 4 kB / 0.9914 GB, free: 158.9 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005209/1.04, allocations: 1.956 MB / 0.9933 GB, free: 156.9 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008131/1.041, allocations: 0.4914 MB / 0.9938 GB, free: 156.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002758/1.042, allocations: 27.94 kB / 0.9938 GB, free: 156.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001656/1.043, allocations: 135.8 kB / 0.9939 GB, free: 156.2 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.006e-05/1.043, allocations: 63.52 kB / 0.994 GB, free: 156.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.716e-05/1.043, allocations: 39.97 kB / 0.994 GB, free: 156.1 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002211/1.046, allocations: 1.75 MB / 0.9957 GB, free: 154.3 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.3e-07/1.046, allocations: 0 / 0.9957 GB, free: 154.3 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001714/1.047, allocations: 0.6926 MB / 0.9964 GB, free: 153.7 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 (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.005955/1.053, allocations: 3.006 MB / 0.9994 GB, free: 150.7 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003427/1.057, allocations: 1.338 MB / 1.001 GB, free: 149.4 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/1.057, allocations: 8.188 kB / 1.001 GB, free: 149.4 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002026/1.059, allocations: 0.6601 MB / 1.001 GB, free: 148.7 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005162/1.064, allocations: 1.334 MB / 1.003 GB, free: 147.5 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02789/1.092, allocations: 16.74 MB / 1.019 GB, free: 130.3 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006493/1.092, allocations: 1.493 MB / 1.02 GB, free: 128.8 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001482/1.094, allocations: 433.9 kB / 1.021 GB, free: 128.4 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000856/1.095, allocations: 0.8937 MB / 1.022 GB, free: 127.5 MB / 0.7169 GB Notification: Performance of SimCode: time 8.51e-07/1.095, allocations: 0 / 1.022 GB, free: 127.5 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09294/1.188, allocations: 65.91 MB / 1.086 GB, free: 62.52 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.01/19.2, allocations: 12.06 kB / 1.086 GB, free: 62.51 MB / 0.7169 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)