Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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: translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP") translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001241/0.001241, 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.001388/0.001388, allocations: 191.3 kB / 16.13 MB, free: 6.652 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.473/1.473, allocations: 205.1 MB / 222 MB, free: 4.973 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.556/1.556, allocations: 251.7 MB / 0.5088 GB, free: 3.316 MB / 414.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.001295/0.001296, allocations: 63.91 kB / 0.6216 GB, free: 1.969 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6037/0.605, allocations: 104.7 MB / 0.7238 GB, free: 13.13 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1223/0.7274, allocations: 131.4 MB / 0.8521 GB, free: 9.324 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.03328/0.7607, allocations: 23.03 MB / 0.8746 GB, free: 2.227 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006079/0.7668, allocations: 111.2 kB / 0.8747 GB, free: 2.117 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.004432/0.7714, allocations: 1.208 MB / 0.8759 GB, free: 0.9023 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01086/0.7822, allocations: 3.747 MB / 0.8795 GB, free: 13.14 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.005216/0.7875, allocations: 1.987 MB / 0.8815 GB, free: 11.17 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.01065/0.7981, allocations: 8.243 MB / 0.8895 GB, free: 2.906 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00394/0.8021, allocations: 1.954 MB / 0.8914 GB, free: 0.8945 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007394/0.8095, allocations: 2.31 MB / 0.8937 GB, free: 14.57 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004753/0.8143, allocations: 1.89 MB / 0.8955 GB, free: 12.68 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0007988/0.8152, allocations: 120 kB / 0.8956 GB, free: 12.56 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006236/0.8214, allocations: 1.649 MB / 0.8973 GB, free: 10.91 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0008062/0.8222, allocations: 485.7 kB / 0.8977 GB, free: 10.43 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.003314/0.8256, allocations: 1.329 MB / 0.899 GB, free: 9.094 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.006619/0.8322, allocations: 4.202 MB / 0.9031 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.235e-06/0.8322, allocations: 0 / 0.9031 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.453e-06/0.8322, allocations: 0 / 0.9031 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.806e-05/0.8323, allocations: 0 / 0.9031 GB, free: 4.879 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.006016/0.8383, allocations: 3.168 MB / 0.9062 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.446e-05/0.8384, allocations: 12.02 kB / 0.9062 GB, free: 1.613 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004461/0.8429, allocations: 0.8438 MB / 0.9071 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4218/1.265, allocations: 2.28 MB / 0.9093 GB, free: 177.8 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00103/1.266, allocations: 293.3 kB / 0.9096 GB, free: 177.7 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003599/1.266, allocations: 162.9 kB / 0.9097 GB, free: 177.7 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004394/1.271, allocations: 1.935 MB / 0.9116 GB, free: 176.9 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.253e-05/1.271, allocations: 6.141 kB / 0.9116 GB, free: 176.9 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001443/1.271, allocations: 61.56 kB / 0.9117 GB, free: 176.8 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.853e-05/1.271, allocations: 41.97 kB / 0.9117 GB, free: 176.8 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005042/1.276, allocations: 1.814 MB / 0.9135 GB, free: 176.2 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.01439/1.29, allocations: 8.992 MB / 0.9223 GB, free: 169.9 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004543/1.295, allocations: 1.192 MB / 0.9234 GB, free: 169.3 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001037/1.296, allocations: 465.7 kB / 0.9239 GB, free: 169.1 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000799/1.297, allocations: 1.725 MB / 0.9256 GB, free: 167.1 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/1.297, allocations: 42.69 kB / 0.9256 GB, free: 167 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=76): time 2.875e-06/1.297, allocations: 0 / 0.9256 GB, free: 167 MB / 0.7169 GB Notification: Performance of matching and sorting (n=76): time 0.008607/1.305, allocations: 2.332 MB / 0.9279 GB, free: 165.8 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/1.305, allocations: 86.45 kB / 0.928 GB, free: 165.7 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003771/1.309, allocations: 2.499 MB / 0.9304 GB, free: 164.4 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002158/1.309, allocations: 41.67 kB / 0.9304 GB, free: 164.4 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007392/1.31, allocations: 1.05 MB / 0.9315 GB, free: 163.4 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002943/1.31, allocations: 271.5 kB / 0.9317 GB, free: 163.2 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003681/1.311, allocations: 253.3 kB / 0.932 GB, free: 163.1 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.232e-05/1.311, allocations: 349.1 kB / 0.9323 GB, free: 162.7 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001501/1.312, allocations: 0.5755 MB / 0.9329 GB, free: 162.5 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001702/1.314, allocations: 0.9654 MB / 0.9338 GB, free: 161.7 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002537/1.317, allocations: 1.244 MB / 0.935 GB, free: 160.9 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.079e-05/1.317, allocations: 3.969 kB / 0.935 GB, free: 160.9 MB / 0.7169 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.008376/1.325, allocations: 2.325 MB / 0.9373 GB, free: 159.7 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.077e-05/1.325, allocations: 16.88 kB / 0.9373 GB, free: 159.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.023e-05/1.325, allocations: 5.688 kB / 0.9373 GB, free: 159.7 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001703/1.327, allocations: 419.2 kB / 0.9377 GB, free: 159.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001154/1.328, allocations: 291.5 kB / 0.938 GB, free: 159 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00179/1.33, allocations: 1.498 MB / 0.9394 GB, free: 157.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003367/1.333, allocations: 438 kB / 0.9399 GB, free: 157.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002207/1.334, allocations: 56.62 kB / 0.9399 GB, free: 157 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 (109): * Single equations (assignments): 107 * 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.001053/1.335, allocations: 466 kB / 0.9404 GB, free: 156.5 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007783/1.335, allocations: 244.9 kB / 0.9406 GB, free: 156.3 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003586/1.339, allocations: 1.507 MB / 0.9421 GB, free: 154.8 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.151e-05/1.339, allocations: 11.98 kB / 0.9421 GB, free: 154.8 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/1.339, allocations: 4 kB / 0.9421 GB, free: 154.8 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/1.339, allocations: 3.984 kB / 0.9421 GB, free: 154.8 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007934/1.347, allocations: 3.575 MB / 0.9456 GB, free: 151.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-05/1.347, allocations: 0 / 0.9456 GB, free: 151.1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005828/1.348, allocations: 136.1 kB / 0.9457 GB, free: 151 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001417/1.349, allocations: 429.1 kB / 0.9461 GB, free: 150.5 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.137e-05/1.349, allocations: 27.92 kB / 0.9461 GB, free: 150.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002083/1.351, allocations: 1.564 MB / 0.9477 GB, free: 148.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/1.351, allocations: 11.88 kB / 0.9477 GB, free: 148.9 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005513/1.357, allocations: 1.931 MB / 0.9496 GB, free: 146.9 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001243/1.358, allocations: 481.6 kB / 0.95 GB, free: 146.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000724/1.359, allocations: 19.91 kB / 0.95 GB, free: 146.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002437/1.361, allocations: 175.7 kB / 0.9502 GB, free: 146.2 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001398/1.361, allocations: 59.86 kB / 0.9503 GB, free: 146.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001418/1.362, allocations: 43.97 kB / 0.9503 GB, free: 146.1 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00411/1.366, allocations: 1.746 MB / 0.952 GB, free: 144.3 MB / 0.7169 GB Notification: Performance of sort global known variables: time 4.31e-07/1.366, allocations: 0 / 0.952 GB, free: 144.3 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003303/1.369, allocations: 0.6557 MB / 0.9527 GB, free: 143.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.001485/1.371, allocations: 0.5794 MB / 0.9532 GB, free: 143.2 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.004029/1.375, allocations: 1.338 MB / 0.9545 GB, free: 141.9 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 8.315e-06/1.375, allocations: 4 kB / 0.9545 GB, free: 141.9 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002122/1.377, allocations: 0.6609 MB / 0.9552 GB, free: 141.2 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006589/1.383, allocations: 1.274 MB / 0.9564 GB, free: 140 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006155/1.39, allocations: 4.299 MB / 0.9606 GB, free: 135.6 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007674/1.39, allocations: 1.49 MB / 0.9621 GB, free: 134.1 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001963/1.392, allocations: 431.4 kB / 0.9625 GB, free: 133.7 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003758/1.393, allocations: 167.4 kB / 0.9627 GB, free: 133.5 MB / 0.7169 GB Notification: Performance of SimCode: time 6.41e-07/1.393, allocations: 3.938 kB / 0.9627 GB, free: 133.5 MB / 0.7169 GB Notification: Performance of Templates: time 0.06496/1.458, allocations: 48.44 MB / 1.01 GB, free: 85.76 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)