Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP") translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001274/0.001279, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001331/0.001331, allocations: 195.8 kB / 16.26 MB, free: 6.621 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.453/1.453, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.817/2.817, allocations: 472.6 MB / 0.7448 GB, free: 4.867 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001352/0.001353, allocations: 61.62 kB / 0.9115 GB, free: 33.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3456, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1224/0.4681, allocations: 131.1 MB / 1.196 GB, free: 7.301 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.03003/0.4982, allocations: 23.06 MB / 1.218 GB, free: 184 kB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004012/0.5022, allocations: 115.2 kB / 1.218 GB, free: 68 kB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.003708/0.5059, allocations: 1.279 MB / 1.22 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01059/0.5166, allocations: 3.822 MB / 1.223 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.005121/0.5217, allocations: 1.981 MB / 1.225 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.009022/0.5308, allocations: 6.574 MB / 1.232 GB, free: 2.391 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003356/0.5341, allocations: 2.336 MB / 1.234 GB, free: 15.99 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007212/0.5414, allocations: 2.758 MB / 1.237 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003621/0.545, allocations: 1.937 MB / 1.239 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006558/0.5457, allocations: 248 kB / 1.239 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006329/0.552, allocations: 1.957 MB / 1.241 GB, free: 9.086 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001165/0.5532, allocations: 0.5993 MB / 1.241 GB, free: 8.484 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002985/0.5562, allocations: 1.462 MB / 1.243 GB, free: 7.016 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.007769/0.564, allocations: 4.32 MB / 1.247 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.5641, allocations: 0 / 1.247 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.613e-06/0.5641, allocations: 0 / 1.247 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.699e-05/0.5641, allocations: 0 / 1.247 GB, free: 2.684 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.6798/1.244, allocations: 3.163 MB / 1.25 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.396e-05/1.244, allocations: 9.812 kB / 1.25 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004948/1.249, allocations: 0.8375 MB / 1.251 GB, free: 180.1 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006039/1.255, allocations: 2.268 MB / 1.253 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001164/1.256, allocations: 290.2 kB / 1.253 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004528/1.257, allocations: 162.8 kB / 1.253 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005729/1.262, allocations: 1.934 MB / 1.255 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.508e-05/1.263, allocations: 4.75 kB / 1.255 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001708/1.263, allocations: 66.94 kB / 1.255 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.235e-05/1.263, allocations: 37.97 kB / 1.255 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005097/1.268, allocations: 1.816 MB / 1.257 GB, free: 179.2 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.01444/1.282, allocations: 9.013 MB / 1.266 GB, free: 172.9 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004324/1.287, allocations: 1.193 MB / 1.267 GB, free: 172.6 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001099/1.288, allocations: 458.6 kB / 1.268 GB, free: 172.4 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008599/1.289, allocations: 1.727 MB / 1.269 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/1.289, allocations: 47.78 kB / 1.269 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=76): time 2.745e-06/1.289, allocations: 0 / 1.269 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=76): time 0.009004/1.298, allocations: 2.318 MB / 1.272 GB, free: 169.6 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/1.298, allocations: 85.81 kB / 1.272 GB, free: 169.5 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004983/1.303, allocations: 2.487 MB / 1.274 GB, free: 168.6 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000198/1.303, allocations: 44.98 kB / 1.274 GB, free: 168.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009213/1.304, allocations: 1.039 MB / 1.275 GB, free: 167.7 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003077/1.304, allocations: 275.5 kB / 1.275 GB, free: 167.5 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005116/1.305, allocations: 252.7 kB / 1.276 GB, free: 167.4 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001173/1.305, allocations: 351.7 kB / 1.276 GB, free: 167.1 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002106/1.307, allocations: 0.5863 MB / 1.277 GB, free: 166.9 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002421/1.309, allocations: 0.9725 MB / 1.278 GB, free: 166.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003092/1.313, allocations: 1.255 MB / 1.279 GB, free: 165.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-05/1.313, allocations: 4.344 kB / 1.279 GB, free: 165.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006985/1.32, allocations: 2.046 MB / 1.281 GB, free: 164.9 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.795e-05/1.32, allocations: 7.469 kB / 1.281 GB, free: 164.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.907e-05/1.32, allocations: 9.875 kB / 1.281 GB, free: 164.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001761/1.321, allocations: 423.3 kB / 1.281 GB, free: 164.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001295/1.323, allocations: 288 kB / 1.281 GB, free: 164.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002059/1.325, allocations: 1.503 MB / 1.283 GB, free: 163.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003669/1.328, allocations: 438.3 kB / 1.283 GB, free: 163.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001873/1.329, allocations: 61.5 kB / 1.283 GB, free: 163.4 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.001227/1.33, allocations: 463.8 kB / 1.284 GB, free: 163.1 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007672/1.331, allocations: 252.3 kB / 1.284 GB, free: 163 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004207/1.335, allocations: 1.494 MB / 1.286 GB, free: 162.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.741e-05/1.335, allocations: 12.52 kB / 1.286 GB, free: 162.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.18e-05/1.335, allocations: 3.562 kB / 1.286 GB, free: 162.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.409e-05/1.335, allocations: 4.906 kB / 1.286 GB, free: 162.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008441/1.343, allocations: 3.587 MB / 1.289 GB, free: 160.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-05/1.343, allocations: 3.875 kB / 1.289 GB, free: 160.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006356/1.344, allocations: 134.9 kB / 1.289 GB, free: 160.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001667/1.346, allocations: 412.1 kB / 1.29 GB, free: 160 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.6e-05/1.346, allocations: 26.27 kB / 1.29 GB, free: 160 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00254/1.348, allocations: 1.571 MB / 1.291 GB, free: 158.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.224e-06/1.348, allocations: 3.375 kB / 1.291 GB, free: 158.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00636/1.355, allocations: 1.937 MB / 1.293 GB, free: 157.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001483/1.356, allocations: 489.7 kB / 1.294 GB, free: 157.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008513/1.357, allocations: 21.05 kB / 1.294 GB, free: 157.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002482/1.36, allocations: 171.9 kB / 1.294 GB, free: 157 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/1.36, allocations: 57.48 kB / 1.294 GB, free: 157 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001281/1.36, allocations: 41.94 kB / 1.294 GB, free: 157 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.004697/1.365, allocations: 1.744 MB / 1.296 GB, free: 156 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8.52e-07/1.365, allocations: 0 / 1.296 GB, free: 156 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003235/1.368, allocations: 0.6837 MB / 1.296 GB, free: 155.9 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.001803/1.37, allocations: 0.5987 MB / 1.297 GB, free: 155.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004719/1.374, allocations: 1.41 MB / 1.298 GB, free: 155 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/1.374, allocations: 0 / 1.298 GB, free: 155 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002367/1.377, allocations: 0.6559 MB / 1.299 GB, free: 154.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007899/1.385, allocations: 1.34 MB / 1.3 GB, free: 154.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008942/1.394, allocations: 4.291 MB / 1.304 GB, free: 151.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001309/1.395, allocations: 1.492 MB / 1.306 GB, free: 150.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002706/1.398, allocations: 431.9 kB / 1.306 GB, free: 150 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006051/1.398, allocations: 165.6 kB / 1.306 GB, free: 150 MB / 0.9981 GB Notification: Performance of SimCode: time 1.082e-06/1.398, allocations: 0 / 1.306 GB, free: 150 MB / 0.9981 GB Notification: Performance of Templates: time 0.07438/1.473, allocations: 50.15 MB / 1.355 GB, free: 102.7 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.makefile (rm -f Buildings_1.6_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & ./Buildings_1.6_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)