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.005577/0.005577, allocations: 102 kB / 15.73 MB, free: 6.043 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.001183/0.001183, allocations: 196.2 kB / 16.67 MB, free: 5.965 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.304/1.304, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002111/0.002111, allocations: 299.3 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9385/0.9385, allocations: 169.3 MB / 0.4983 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00177/0.00177, allocations: 91.86 kB / 0.681 GB, free: 7.453 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.368/0.3698, allocations: 86.98 MB / 0.7659 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1214/0.4913, allocations: 132.2 MB / 0.895 GB, free: 15.2 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.03053/0.5218, allocations: 23.22 MB / 0.9177 GB, free: 7.914 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004852/0.5267, allocations: 123.2 kB / 0.9178 GB, free: 7.793 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.004155/0.5309, allocations: 1.483 MB / 0.9192 GB, free: 6.301 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01029/0.5413, allocations: 4.101 MB / 0.9232 GB, free: 2.184 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.005049/0.5463, allocations: 2.173 MB / 0.9254 GB, free: 28 kB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.008396/0.5547, allocations: 6.524 MB / 0.9317 GB, free: 9.484 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003178/0.5579, allocations: 2.355 MB / 0.934 GB, free: 7.066 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005611/0.5636, allocations: 2.744 MB / 0.9367 GB, free: 4.32 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002762/0.5663, allocations: 1.878 MB / 0.9385 GB, free: 2.434 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0003828/0.5667, allocations: 248 kB / 0.9388 GB, free: 2.191 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003826/0.5706, allocations: 1.942 MB / 0.9407 GB, free: 252 kB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0005494/0.5711, allocations: 0.5916 MB / 0.9413 GB, free: 15.65 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001581/0.5727, allocations: 1.454 MB / 0.9427 GB, free: 14.19 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.005788/0.5785, allocations: 4.386 MB / 0.947 GB, free: 9.793 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.5786, allocations: 0 / 0.947 GB, free: 9.793 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.443e-06/0.5786, allocations: 0 / 0.947 GB, free: 9.793 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.997e-05/0.5786, allocations: 0 / 0.947 GB, free: 9.793 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.005588/0.5842, allocations: 3.168 MB / 0.9501 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.5843, allocations: 8.031 kB / 0.9501 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002476/0.5845, allocations: 224 kB / 0.9503 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004425/0.589, allocations: 0.8436 MB / 0.9511 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004465/0.5934, allocations: 2.329 MB / 0.9534 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001046/0.5936, allocations: 127 kB / 0.9535 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002502/0.5938, allocations: 160 kB / 0.9536 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003943/0.5978, allocations: 1.923 MB / 0.9555 GB, free: 0.7812 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.348e-05/0.5978, allocations: 4 kB / 0.9555 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001491/0.598, allocations: 60 kB / 0.9556 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.492e-05/0.598, allocations: 43.94 kB / 0.9556 GB, free: 0.6758 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2987/0.8968, allocations: 1.787 MB / 0.9574 GB, free: 184.4 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.01283/0.9096, allocations: 8.956 MB / 0.9661 GB, free: 178.5 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004166/0.9138, allocations: 1.2 MB / 0.9673 GB, free: 178.1 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001098/0.9149, allocations: 461.2 kB / 0.9677 GB, free: 177.9 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008126/0.9158, allocations: 1.717 MB / 0.9694 GB, free: 176 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.9158, allocations: 49.86 kB / 0.9695 GB, free: 175.9 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=76): time 3.667e-06/0.9158, allocations: 0 / 0.9695 GB, free: 175.9 MB / 0.7169 GB Notification: Performance of matching and sorting (n=76): time 0.008599/0.9244, allocations: 2.33 MB / 0.9717 GB, free: 175.2 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.266e-05/0.9245, allocations: 88.89 kB / 0.9718 GB, free: 175.1 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003281/0.9277, allocations: 2.489 MB / 0.9742 GB, free: 173.9 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001275/0.9279, allocations: 45.48 kB / 0.9743 GB, free: 173.8 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005866/0.9285, allocations: 1.041 MB / 0.9753 GB, free: 172.9 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001839/0.9287, allocations: 267.1 kB / 0.9756 GB, free: 172.7 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000342/0.929, allocations: 257.4 kB / 0.9758 GB, free: 172.5 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.569e-05/0.9291, allocations: 349.7 kB / 0.9761 GB, free: 172.2 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001569/0.9307, allocations: 0.5717 MB / 0.9767 GB, free: 171.9 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001788/0.9325, allocations: 0.9522 MB / 0.9776 GB, free: 171.2 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002655/0.9351, allocations: 1.247 MB / 0.9788 GB, free: 170.4 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.141e-06/0.9351, allocations: 3.969 kB / 0.9788 GB, free: 170.4 MB / 0.7169 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006092/0.9412, allocations: 2.018 MB / 0.9808 GB, free: 169.5 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.9413, allocations: 9 kB / 0.9808 GB, free: 169.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.9413, allocations: 6.312 kB / 0.9808 GB, free: 169.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001444/0.9427, allocations: 420.6 kB / 0.9812 GB, free: 169.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001147/0.9439, allocations: 281.1 kB / 0.9815 GB, free: 169.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001836/0.9457, allocations: 1.495 MB / 0.983 GB, free: 167.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00248/0.9482, allocations: 368.3 kB / 0.9833 GB, free: 167.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001143/0.9484, allocations: 64.62 kB / 0.9834 GB, free: 167.7 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.0007043/0.9491, allocations: 458 kB / 0.9838 GB, free: 167.2 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003467/0.9494, allocations: 256.8 kB / 0.9841 GB, free: 167 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003183/0.9526, allocations: 1.5 MB / 0.9855 GB, free: 165.4 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.599e-05/0.9527, allocations: 15.98 kB / 0.9855 GB, free: 165.4 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.9527, allocations: 0.9844 kB / 0.9855 GB, free: 165.4 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.9527, allocations: 3.984 kB / 0.9855 GB, free: 165.4 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00673/0.9594, allocations: 3.604 MB / 0.9891 GB, free: 161.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/0.9594, allocations: 7.062 kB / 0.9891 GB, free: 161.7 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006017/0.96, allocations: 128.1 kB / 0.9892 GB, free: 161.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001269/0.9613, allocations: 411.9 kB / 0.9896 GB, free: 161.2 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.581e-05/0.9614, allocations: 27.98 kB / 0.9896 GB, free: 161.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002244/0.9636, allocations: 1.57 MB / 0.9911 GB, free: 159.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.9637, allocations: 0.5469 kB / 0.9911 GB, free: 159.6 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005494/0.9692, allocations: 1.947 MB / 0.993 GB, free: 157.6 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007596/0.9699, allocations: 493.5 kB / 0.9935 GB, free: 157 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002765/0.9702, allocations: 19.98 kB / 0.9935 GB, free: 157 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001608/0.9718, allocations: 131.8 kB / 0.9937 GB, free: 156.9 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.037e-05/0.9719, allocations: 59.86 kB / 0.9937 GB, free: 156.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.546e-05/0.972, allocations: 39.97 kB / 0.9938 GB, free: 156.8 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002317/0.9743, allocations: 1.75 MB / 0.9955 GB, free: 155 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2e-07/0.9743, allocations: 0 / 0.9955 GB, free: 155 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001592/0.9759, allocations: 0.688 MB / 0.9961 GB, free: 154.4 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.006414/0.9824, allocations: 3.013 MB / 0.9991 GB, free: 151.4 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003812/0.9862, allocations: 1.334 MB / 1 GB, free: 150.1 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/0.9862, allocations: 8.188 kB / 1 GB, free: 150.1 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002208/0.9884, allocations: 0.6523 MB / 1.001 GB, free: 149.4 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005622/0.9941, allocations: 1.321 MB / 1.002 GB, free: 148.1 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03009/1.024, allocations: 16.67 MB / 1.019 GB, free: 131 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006584/1.025, allocations: 1.486 MB / 1.02 GB, free: 129.5 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001625/1.027, allocations: 435.8 kB / 1.02 GB, free: 129.1 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008878/1.027, allocations: 0.8937 MB / 1.021 GB, free: 128.2 MB / 0.7169 GB Notification: Performance of SimCode: time 6.21e-07/1.027, allocations: 0 / 1.021 GB, free: 128.2 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08399/1.111, allocations: 65.91 MB / 1.086 GB, free: 63.23 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.74/17.85, allocations: 19.12 kB / 1.086 GB, free: 63.21 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)