Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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: translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP") translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001006/0.001006, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006249/0.006249, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.472/1.472, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.945/2.945, allocations: 473.4 MB / 0.7469 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000465/0.0004651, allocations: 9.625 kB / 0.9158 GB, free: 33.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3833/0.3838, allocations: 162.2 MB / 1.074 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1296/0.5134, allocations: 129.4 MB / 1.2 GB, free: 5.723 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.03336/0.5468, allocations: 23.07 MB / 1.223 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00398/0.5508, allocations: 107.2 kB / 1.223 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.004228/0.5551, allocations: 1.204 MB / 1.224 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01351/0.5686, allocations: 3.775 MB / 1.228 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.006159/0.5748, allocations: 1.959 MB / 1.23 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01291/0.5877, allocations: 8.278 MB / 1.238 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004426/0.5922, allocations: 1.909 MB / 1.24 GB, free: 13.29 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006912/0.5991, allocations: 2.294 MB / 1.242 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004167/0.6033, allocations: 1.781 MB / 1.244 GB, free: 9.195 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005154/0.6039, allocations: 92 kB / 1.244 GB, free: 9.105 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004849/0.6087, allocations: 1.715 MB / 1.246 GB, free: 7.387 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000761/0.6095, allocations: 445.7 kB / 1.246 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002555/0.6121, allocations: 1.292 MB / 1.247 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006616/0.6187, allocations: 4.131 MB / 1.251 GB, free: 1.5 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/0.6187, allocations: 0 / 1.251 GB, free: 1.5 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.964e-06/0.6187, allocations: 0 / 1.251 GB, free: 1.5 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.85e-05/0.6188, allocations: 0 / 1.251 GB, free: 1.5 MB / 0.9981 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.6175/1.236, allocations: 2.654 MB / 1.254 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/1.236, allocations: 10.64 kB / 1.254 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0053/1.242, allocations: 0.9568 MB / 1.255 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005196/1.247, allocations: 2.273 MB / 1.257 GB, free: 177 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00111/1.248, allocations: 324.4 kB / 1.257 GB, free: 177 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003639/1.248, allocations: 157.8 kB / 1.258 GB, free: 177 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004617/1.253, allocations: 1.982 MB / 1.259 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.738e-05/1.253, allocations: 5.031 kB / 1.259 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001615/1.253, allocations: 62.91 kB / 1.26 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.911e-05/1.253, allocations: 37.34 kB / 1.26 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005361/1.259, allocations: 1.899 MB / 1.261 GB, free: 176.6 MB / 0.9981 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.01506/1.274, allocations: 9.085 MB / 1.27 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004653/1.279, allocations: 1.31 MB / 1.272 GB, free: 170 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001187/1.28, allocations: 484.9 kB / 1.272 GB, free: 169.9 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009936/1.281, allocations: 1.719 MB / 1.274 GB, free: 167.9 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.928e-05/1.281, allocations: 51.36 kB / 1.274 GB, free: 167.8 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=76): time 3.256e-06/1.281, allocations: 0 / 1.274 GB, free: 167.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=76): time 0.01058/1.291, allocations: 2.5 MB / 1.276 GB, free: 167 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.1e-05/1.291, allocations: 89.08 kB / 1.276 GB, free: 166.9 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005458/1.297, allocations: 2.503 MB / 1.279 GB, free: 166 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002818/1.297, allocations: 48.27 kB / 1.279 GB, free: 165.9 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001076/1.298, allocations: 1.044 MB / 1.28 GB, free: 165.1 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003811/1.299, allocations: 269 kB / 1.28 GB, free: 164.9 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001583/1.299, allocations: 90.78 kB / 1.28 GB, free: 164.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001047/1.299, allocations: 349.1 kB / 1.28 GB, free: 164.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001982/1.301, allocations: 0.6284 MB / 1.281 GB, free: 164.3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002205/1.303, allocations: 1.011 MB / 1.282 GB, free: 163.7 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003171/1.306, allocations: 1.33 MB / 1.283 GB, free: 163 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.458e-06/1.306, allocations: 2.156 kB / 1.283 GB, free: 163 MB / 0.9981 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007527/1.314, allocations: 2.19 MB / 1.285 GB, free: 162.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.796e-05/1.314, allocations: 9.125 kB / 1.285 GB, free: 162.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.5e-05/1.314, allocations: 7.125 kB / 1.286 GB, free: 162.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001926/1.316, allocations: 434.1 kB / 1.286 GB, free: 162.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001386/1.317, allocations: 314.5 kB / 1.286 GB, free: 162.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002199/1.32, allocations: 1.547 MB / 1.288 GB, free: 161 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003651/1.323, allocations: 482.9 kB / 1.288 GB, free: 160.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002192/1.323, allocations: 58.77 kB / 1.288 GB, free: 160.9 MB / 0.9981 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.001048/1.325, allocations: 466.2 kB / 1.289 GB, free: 160.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005968/1.325, allocations: 243.8 kB / 1.289 GB, free: 160.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003793/1.329, allocations: 1.551 MB / 1.29 GB, free: 159.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.051e-05/1.329, allocations: 16.03 kB / 1.29 GB, free: 159.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.625e-06/1.329, allocations: 1.156 kB / 1.29 GB, free: 159.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/1.329, allocations: 8.688 kB / 1.29 GB, free: 159.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007841/1.337, allocations: 3.693 MB / 1.294 GB, free: 157.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.424e-05/1.337, allocations: 2.688 kB / 1.294 GB, free: 157.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006439/1.338, allocations: 145.4 kB / 1.294 GB, free: 157.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001611/1.339, allocations: 431 kB / 1.295 GB, free: 157.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.718e-05/1.339, allocations: 26.7 kB / 1.295 GB, free: 157.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003012/1.342, allocations: 1.634 MB / 1.296 GB, free: 155.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.014e-05/1.342, allocations: 7.281 kB / 1.296 GB, free: 155.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007695/1.35, allocations: 2.067 MB / 1.298 GB, free: 154.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00184/1.352, allocations: 0.5153 MB / 1.299 GB, free: 154.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004415/1.352, allocations: 19.81 kB / 1.299 GB, free: 154.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001946/1.354, allocations: 193.3 kB / 1.299 GB, free: 154.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/1.354, allocations: 62.56 kB / 1.299 GB, free: 154.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001083/1.355, allocations: 44.98 kB / 1.299 GB, free: 154.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.004038/1.359, allocations: 1.767 MB / 1.301 GB, free: 153.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6.41e-07/1.359, allocations: 0 / 1.301 GB, free: 153.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00306/1.362, allocations: 0.6773 MB / 1.301 GB, free: 153.1 MB / 0.9981 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.001313/1.363, allocations: 0.6072 MB / 1.302 GB, free: 152.9 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00462/1.368, allocations: 1.435 MB / 1.303 GB, free: 152.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/1.368, allocations: 0 / 1.303 GB, free: 152.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002361/1.37, allocations: 0.7155 MB / 1.304 GB, free: 151.9 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008506/1.379, allocations: 1.321 MB / 1.305 GB, free: 151.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006645/1.385, allocations: 4.329 MB / 1.31 GB, free: 148.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009558/1.386, allocations: 1.497 MB / 1.311 GB, free: 147.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002387/1.389, allocations: 434.5 kB / 1.312 GB, free: 147.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005221/1.389, allocations: 181.3 kB / 1.312 GB, free: 147.2 MB / 0.9981 GB Notification: Performance of SimCode: time 1.022e-06/1.389, allocations: 0 / 1.312 GB, free: 147.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.07442/1.464, allocations: 50.74 MB / 1.361 GB, free: 97.72 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & ./Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)