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.001275/0.001274, allocations: 90.83 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.007917/0.007917, allocations: 171.7 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.451/1.451, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.871/2.871, allocations: 473.4 MB / 0.7469 GB, free: 6.07 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004009/0.000401, allocations: 12.59 kB / 0.9158 GB, free: 33.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3875/0.3879, allocations: 162.2 MB / 1.074 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1312/0.5192, allocations: 129.4 MB / 1.2 GB, free: 5.75 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.03364/0.5529, allocations: 23.07 MB / 1.223 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006807/0.5598, allocations: 107.3 kB / 1.223 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00535/0.5651, allocations: 1.2 MB / 1.224 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01579/0.581, allocations: 3.768 MB / 1.228 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00752/0.5885, allocations: 1.968 MB / 1.23 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01328/0.6018, allocations: 8.281 MB / 1.238 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004497/0.6063, allocations: 1.905 MB / 1.24 GB, free: 13.32 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006634/0.613, allocations: 2.298 MB / 1.242 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003535/0.6166, allocations: 1.781 MB / 1.244 GB, free: 9.219 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0006039/0.6172, allocations: 95.94 kB / 1.244 GB, free: 9.125 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004694/0.6219, allocations: 1.707 MB / 1.246 GB, free: 7.414 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007743/0.6227, allocations: 441.7 kB / 1.246 GB, free: 6.98 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002681/0.6254, allocations: 1.292 MB / 1.247 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008041/0.6335, allocations: 4.135 MB / 1.251 GB, free: 1.527 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.6335, allocations: 0 / 1.251 GB, free: 1.527 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.834e-06/0.6335, allocations: 0 / 1.251 GB, free: 1.527 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001488/0.6337, allocations: 0 / 1.251 GB, free: 1.527 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.6118/1.246, allocations: 2.655 MB / 1.254 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.033e-05/1.246, allocations: 11.45 kB / 1.254 GB, free: 177.7 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005733/1.251, allocations: 0.9543 MB / 1.255 GB, free: 177.5 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006096/1.257, allocations: 2.271 MB / 1.257 GB, free: 176.9 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001163/1.259, allocations: 324.8 kB / 1.257 GB, free: 176.9 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000532/1.259, allocations: 162 kB / 1.258 GB, free: 176.9 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005433/1.265, allocations: 1.978 MB / 1.259 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.409e-05/1.265, allocations: 5.5 kB / 1.259 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001848/1.265, allocations: 61.94 kB / 1.259 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.804e-05/1.265, allocations: 41.56 kB / 1.26 GB, free: 176.7 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005452/1.27, allocations: 1.9 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.01481/1.285, allocations: 9.09 MB / 1.27 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004752/1.29, allocations: 1.304 MB / 1.272 GB, free: 170 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00124/1.291, allocations: 482.3 kB / 1.272 GB, free: 169.8 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009383/1.292, allocations: 1.725 MB / 1.274 GB, free: 167.8 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/1.292, allocations: 46.44 kB / 1.274 GB, free: 167.8 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=76): time 3.075e-06/1.292, allocations: 0 / 1.274 GB, free: 167.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=76): time 0.01033/1.303, allocations: 2.509 MB / 1.276 GB, free: 167 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/1.303, allocations: 84.89 kB / 1.276 GB, free: 166.9 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005546/1.308, allocations: 2.502 MB / 1.279 GB, free: 165.9 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.00026/1.309, allocations: 44.77 kB / 1.279 GB, free: 165.9 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00111/1.31, allocations: 1.045 MB / 1.28 GB, free: 165.1 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003532/1.31, allocations: 269.2 kB / 1.28 GB, free: 164.9 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001831/1.31, allocations: 90.8 kB / 1.28 GB, free: 164.8 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000119/1.31, allocations: 350.6 kB / 1.28 GB, free: 164.5 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0021/1.312, allocations: 0.6297 MB / 1.281 GB, free: 164.3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00225/1.315, allocations: 1.008 MB / 1.282 GB, free: 163.7 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003299/1.318, allocations: 1.333 MB / 1.283 GB, free: 163 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.335e-06/1.318, allocations: 2.531 kB / 1.283 GB, free: 163 MB / 0.9981 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007715/1.326, allocations: 2.187 MB / 1.285 GB, free: 162.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.136e-05/1.326, allocations: 15.83 kB / 1.286 GB, free: 162.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.837e-05/1.326, allocations: 7.5 kB / 1.286 GB, free: 162.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001851/1.328, allocations: 431 kB / 1.286 GB, free: 162.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00137/1.329, allocations: 309.7 kB / 1.286 GB, free: 162.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002228/1.331, allocations: 1.549 MB / 1.288 GB, free: 161 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004049/1.335, allocations: 476.7 kB / 1.288 GB, free: 160.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002573/1.336, allocations: 59 kB / 1.288 GB, free: 160.8 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.001117/1.337, allocations: 467.8 kB / 1.289 GB, free: 160.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005362/1.337, allocations: 247.8 kB / 1.289 GB, free: 160.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003983/1.341, allocations: 1.554 MB / 1.29 GB, free: 159.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-05/1.341, allocations: 8.438 kB / 1.29 GB, free: 159.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.854e-06/1.341, allocations: 1.469 kB / 1.29 GB, free: 159.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/1.341, allocations: 3.656 kB / 1.29 GB, free: 159.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008613/1.35, allocations: 3.699 MB / 1.294 GB, free: 157.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.667e-05/1.35, allocations: 4.906 kB / 1.294 GB, free: 157.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006525/1.351, allocations: 136.8 kB / 1.294 GB, free: 157.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001698/1.352, allocations: 437.5 kB / 1.295 GB, free: 157.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.503e-05/1.353, allocations: 33.3 kB / 1.295 GB, free: 157.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002631/1.355, allocations: 1.629 MB / 1.296 GB, free: 155.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.685e-06/1.355, allocations: 7.25 kB / 1.296 GB, free: 155.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007/1.362, allocations: 2.074 MB / 1.298 GB, free: 154.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002222/1.364, allocations: 0.5114 MB / 1.299 GB, free: 154.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001081/1.366, allocations: 19.72 kB / 1.299 GB, free: 154.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002906/1.368, allocations: 193.4 kB / 1.299 GB, free: 154.2 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001255/1.369, allocations: 61.64 kB / 1.299 GB, free: 154.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001399/1.369, allocations: 41.66 kB / 1.299 GB, free: 154.2 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.004303/1.373, allocations: 1.767 MB / 1.301 GB, free: 153.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/1.373, allocations: 0 / 1.301 GB, free: 153.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003117/1.376, allocations: 0.6777 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.001286/1.378, allocations: 0.6024 MB / 1.302 GB, free: 152.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004347/1.382, allocations: 1.435 MB / 1.303 GB, free: 152.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/1.382, allocations: 1.312 kB / 1.303 GB, free: 152.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00251/1.384, allocations: 0.7221 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.009082/1.394, allocations: 1.314 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.00647/1.4, allocations: 4.34 MB / 1.31 GB, free: 148.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007867/1.401, allocations: 1.485 MB / 1.311 GB, free: 147.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00234/1.403, allocations: 439.2 kB / 1.312 GB, free: 147.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004991/1.404, allocations: 181.4 kB / 1.312 GB, free: 147.2 MB / 0.9981 GB Notification: Performance of SimCode: time 8.62e-07/1.404, allocations: 0 / 1.312 GB, free: 147.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.07524/1.479, allocations: 50.74 MB / 1.361 GB, free: 97.8 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)