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.001458/0.001459, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00218/0.00218, allocations: 192.9 kB / 16.14 MB, free: 6.688 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.447/1.447, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.961/2.961, allocations: 472.6 MB / 0.7447 GB, free: 4.918 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 68.16 kB / 0.9113 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3696/0.3709, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1245/0.4955, allocations: 131.4 MB / 1.196 GB, free: 7.062 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.03179/0.5273, allocations: 23.31 MB / 1.219 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005674/0.533, allocations: 111.3 kB / 1.219 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.004344/0.5374, allocations: 1.212 MB / 1.22 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01273/0.5502, allocations: 3.767 MB / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.005801/0.556, allocations: 1.955 MB / 1.225 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0111/0.5671, allocations: 8.28 MB / 1.234 GB, free: 356 kB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003773/0.5709, allocations: 1.97 MB / 1.235 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005329/0.5763, allocations: 2.356 MB / 1.238 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003201/0.5795, allocations: 1.866 MB / 1.24 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0004256/0.5799, allocations: 120 kB / 1.24 GB, free: 9.953 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004164/0.5841, allocations: 1.742 MB / 1.241 GB, free: 8.207 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005283/0.5847, allocations: 489.6 kB / 1.242 GB, free: 7.727 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001666/0.5863, allocations: 1.317 MB / 1.243 GB, free: 6.402 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006069/0.5924, allocations: 4.226 MB / 1.247 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.5924, allocations: 0 / 1.247 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.102e-06/0.5925, allocations: 4 kB / 1.247 GB, free: 2.16 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.192e-05/0.5925, allocations: 0 / 1.247 GB, free: 2.16 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.6297/1.222, allocations: 3.158 MB / 1.25 GB, free: 180.3 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/1.222, allocations: 9.562 kB / 1.25 GB, free: 180.3 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005886/1.228, allocations: 0.8442 MB / 1.251 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006275/1.234, allocations: 2.263 MB / 1.253 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001123/1.236, allocations: 290.6 kB / 1.254 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004853/1.236, allocations: 162.5 kB / 1.254 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004507/1.241, allocations: 1.939 MB / 1.256 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.525e-05/1.241, allocations: 12.91 kB / 1.256 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001592/1.241, allocations: 60.47 kB / 1.256 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.618e-05/1.241, allocations: 37.12 kB / 1.256 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004896/1.246, allocations: 1.811 MB / 1.258 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.01524/1.261, allocations: 9.012 MB / 1.266 GB, free: 173 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004435/1.266, allocations: 1.193 MB / 1.268 GB, free: 172.6 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001173/1.267, allocations: 462.3 kB / 1.268 GB, free: 172.5 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001002/1.268, allocations: 1.724 MB / 1.27 GB, free: 170.5 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.662e-05/1.268, allocations: 45.86 kB / 1.27 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=76): time 3.317e-06/1.268, allocations: 0 / 1.27 GB, free: 170.4 MB / 0.9981 GB Notification: Performance of matching and sorting (n=76): time 0.00921/1.277, allocations: 2.328 MB / 1.272 GB, free: 169.7 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/1.277, allocations: 89.39 kB / 1.272 GB, free: 169.6 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005714/1.283, allocations: 2.483 MB / 1.275 GB, free: 168.7 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002327/1.283, allocations: 46.3 kB / 1.275 GB, free: 168.6 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009537/1.284, allocations: 1.043 MB / 1.276 GB, free: 167.8 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003704/1.284, allocations: 271 kB / 1.276 GB, free: 167.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006469/1.285, allocations: 259.9 kB / 1.276 GB, free: 167.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.615e-05/1.285, allocations: 348 kB / 1.276 GB, free: 167.1 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00212/1.287, allocations: 0.5883 MB / 1.277 GB, free: 167 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002257/1.29, allocations: 0.9682 MB / 1.278 GB, free: 166.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003063/1.293, allocations: 1.258 MB / 1.279 GB, free: 165.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.178e-05/1.293, allocations: 3.094 kB / 1.279 GB, free: 165.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006929/1.3, allocations: 2.038 MB / 1.281 GB, free: 165 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.748e-05/1.3, allocations: 8.781 kB / 1.281 GB, free: 165 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.977e-05/1.3, allocations: 8.656 kB / 1.281 GB, free: 165 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001766/1.302, allocations: 421.5 kB / 1.282 GB, free: 164.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001391/1.303, allocations: 290.2 kB / 1.282 GB, free: 164.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00211/1.305, allocations: 1.505 MB / 1.283 GB, free: 163.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00353/1.309, allocations: 433.6 kB / 1.284 GB, free: 163.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002833/1.309, allocations: 62.09 kB / 1.284 GB, free: 163.5 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.00122/1.31, allocations: 468.1 kB / 1.284 GB, free: 163.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009453/1.311, allocations: 246 kB / 1.284 GB, free: 163.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004008/1.315, allocations: 1.504 MB / 1.286 GB, free: 162.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.98e-05/1.315, allocations: 16.47 kB / 1.286 GB, free: 162.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.456e-05/1.315, allocations: 0.9062 kB / 1.286 GB, free: 162.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.331e-05/1.315, allocations: 8.75 kB / 1.286 GB, free: 162.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009092/1.324, allocations: 3.592 MB / 1.289 GB, free: 160.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.756e-05/1.324, allocations: 3.062 kB / 1.289 GB, free: 160.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006208/1.325, allocations: 135.2 kB / 1.29 GB, free: 160.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001634/1.327, allocations: 418.6 kB / 1.29 GB, free: 160 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.675e-05/1.327, allocations: 26.64 kB / 1.29 GB, free: 160 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002402/1.329, allocations: 1.569 MB / 1.292 GB, free: 158.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/1.329, allocations: 8.312 kB / 1.292 GB, free: 158.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006475/1.336, allocations: 1.929 MB / 1.293 GB, free: 157.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001769/1.337, allocations: 493 kB / 1.294 GB, free: 157.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009168/1.338, allocations: 15.94 kB / 1.294 GB, free: 157.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002472/1.341, allocations: 172 kB / 1.294 GB, free: 157 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/1.341, allocations: 61.86 kB / 1.294 GB, free: 157 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001197/1.341, allocations: 43.19 kB / 1.294 GB, free: 157 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.004192/1.345, allocations: 1.743 MB / 1.296 GB, free: 156 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.11e-07/1.345, allocations: 0 / 1.296 GB, free: 156 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00332/1.349, allocations: 0.6704 MB / 1.297 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.001345/1.35, allocations: 0.6031 MB / 1.297 GB, free: 155.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004207/1.354, allocations: 1.359 MB / 1.298 GB, free: 155.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/1.354, allocations: 1.094 kB / 1.298 GB, free: 155.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002207/1.356, allocations: 0.6545 MB / 1.299 GB, free: 154.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00714/1.364, allocations: 1.267 MB / 1.3 GB, free: 154.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00642/1.37, allocations: 4.299 MB / 1.305 GB, free: 151.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009274/1.371, allocations: 1.484 MB / 1.306 GB, free: 150.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00274/1.374, allocations: 440.4 kB / 1.306 GB, free: 150.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007068/1.374, allocations: 161.7 kB / 1.307 GB, free: 150.1 MB / 0.9981 GB Notification: Performance of SimCode: time 9.82e-07/1.375, allocations: 0 / 1.307 GB, free: 150.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.0672/1.442, allocations: 48.36 MB / 1.354 GB, free: 104.3 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)