Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP") translateModel(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001512/0.001512, allocations: 108.1 kB / 16.36 MB, free: 5.824 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.001791/0.001791, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.313/1.313, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002281/0.002281, allocations: 282.9 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9488/0.9488, allocations: 169.3 MB / 0.4989 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001785/0.001785, allocations: 103.1 kB / 0.5967 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.1714, allocations: 86.97 MB / 0.6816 GB, free: 7.457 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.4025/0.5739, allocations: 132.2 MB / 0.8107 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03363/0.6076, allocations: 23.21 MB / 0.8333 GB, free: 3.223 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005038/0.6126, allocations: 119.3 kB / 0.8335 GB, free: 3.105 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.004918/0.6176, allocations: 1.49 MB / 0.8349 GB, free: 1.605 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01143/0.6291, allocations: 4.097 MB / 0.8389 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.005564/0.6347, allocations: 2.172 MB / 0.841 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.009417/0.6441, allocations: 6.535 MB / 0.8474 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004385/0.6485, allocations: 2.355 MB / 0.8497 GB, free: 2.375 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007842/0.6564, allocations: 2.765 MB / 0.8524 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00449/0.6609, allocations: 1.875 MB / 0.8543 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.001093/0.662, allocations: 244 kB / 0.8545 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005813/0.6678, allocations: 1.942 MB / 0.8564 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001385/0.6692, allocations: 0.5953 MB / 0.857 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.00364/0.6729, allocations: 1.454 MB / 0.8584 GB, free: 9.484 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.009397/0.6823, allocations: 4.365 MB / 0.8626 GB, free: 5.109 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.6823, allocations: 0 / 0.8626 GB, free: 5.109 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.404e-06/0.6824, allocations: 3.938 kB / 0.8626 GB, free: 5.105 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0001365/0.6825, allocations: 0 / 0.8626 GB, free: 5.105 MB / 0.6231 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.007673/0.6902, allocations: 3.176 MB / 0.8658 GB, free: 1.844 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.6902, allocations: 12.03 kB / 0.8658 GB, free: 1.832 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004265/0.6945, allocations: 0.8322 MB / 0.8666 GB, free: 0.9961 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004774/0.6993, allocations: 2.326 MB / 0.8688 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001006/0.6994, allocations: 127 kB / 0.869 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002247/0.6996, allocations: 164 kB / 0.8691 GB, free: 14.31 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003795/0.7034, allocations: 1.915 MB / 0.871 GB, free: 12.33 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.801e-05/0.7035, allocations: 3.938 kB / 0.871 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001464/0.7036, allocations: 68 kB / 0.8711 GB, free: 12.26 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.847e-05/0.7037, allocations: 36 kB / 0.8711 GB, free: 12.22 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004375/0.7081, allocations: 1.788 MB / 0.8728 GB, free: 10.43 MB / 0.6387 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.01247/0.7205, allocations: 8.961 MB / 0.8816 GB, free: 0.8711 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004074/0.7246, allocations: 1.179 MB / 0.8827 GB, free: 15.67 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00104/0.7257, allocations: 465.1 kB / 0.8832 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001221/0.7269, allocations: 1.726 MB / 0.8849 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/0.727, allocations: 50.25 kB / 0.8849 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=76): time 2.505e-06/0.727, allocations: 0 / 0.8849 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of matching and sorting (n=76): time 0.008356/0.7353, allocations: 2.325 MB / 0.8872 GB, free: 10.66 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.744e-05/0.7354, allocations: 85.11 kB / 0.8873 GB, free: 10.56 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004034/0.7395, allocations: 2.496 MB / 0.8897 GB, free: 8.043 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001515/0.7396, allocations: 45.7 kB / 0.8898 GB, free: 7.992 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001109/0.7408, allocations: 1.034 MB / 0.8908 GB, free: 6.949 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002778/0.7411, allocations: 272.1 kB / 0.891 GB, free: 6.68 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004223/0.7415, allocations: 258.6 kB / 0.8913 GB, free: 6.418 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.7416, allocations: 349.9 kB / 0.8916 GB, free: 6.07 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001685/0.7433, allocations: 0.5686 MB / 0.8922 GB, free: 5.504 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001942/0.7453, allocations: 0.9582 MB / 0.8931 GB, free: 4.398 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002887/0.7482, allocations: 1.244 MB / 0.8943 GB, free: 3.051 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/0.7482, allocations: 4 kB / 0.8943 GB, free: 3.047 MB / 0.6544 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006327/0.7545, allocations: 2.016 MB / 0.8963 GB, free: 1.016 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.7546, allocations: 8 kB / 0.8963 GB, free: 1.008 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.485e-05/0.7546, allocations: 8 kB / 0.8963 GB, free: 1 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001576/0.7562, allocations: 433.2 kB / 0.8967 GB, free: 0.5742 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001246/0.7574, allocations: 279.6 kB / 0.897 GB, free: 308 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00233/0.7598, allocations: 1.505 MB / 0.8984 GB, free: 14.75 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002768/0.7626, allocations: 354.1 kB / 0.8988 GB, free: 14.4 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001674/0.7627, allocations: 59.97 kB / 0.8988 GB, free: 14.34 MB / 0.67 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.0008782/0.7636, allocations: 466 kB / 0.8993 GB, free: 13.88 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007063/0.7643, allocations: 244.9 kB / 0.8995 GB, free: 13.63 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00383/0.7682, allocations: 1.501 MB / 0.901 GB, free: 12.11 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.41e-05/0.7682, allocations: 15.94 kB / 0.901 GB, free: 12.1 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/0.7682, allocations: 0 / 0.901 GB, free: 12.1 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.878e-06/0.7682, allocations: 3.984 kB / 0.901 GB, free: 12.09 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008143/0.7764, allocations: 3.612 MB / 0.9045 GB, free: 8.371 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.396e-05/0.7764, allocations: 7.938 kB / 0.9045 GB, free: 8.363 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006602/0.7771, allocations: 132.1 kB / 0.9047 GB, free: 8.234 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001494/0.7786, allocations: 413.3 kB / 0.9051 GB, free: 7.824 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.823e-05/0.7787, allocations: 31.92 kB / 0.9051 GB, free: 7.793 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002598/0.7813, allocations: 1.577 MB / 0.9066 GB, free: 6.164 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.7814, allocations: 4 kB / 0.9066 GB, free: 6.16 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005981/0.7873, allocations: 1.928 MB / 0.9085 GB, free: 4.172 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001367/0.7887, allocations: 485.6 kB / 0.909 GB, free: 3.676 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006328/0.7894, allocations: 19.94 kB / 0.909 GB, free: 3.656 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002071/0.7915, allocations: 139.8 kB / 0.9091 GB, free: 3.52 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.833e-05/0.7916, allocations: 55.92 kB / 0.9092 GB, free: 3.465 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001121/0.7917, allocations: 43.97 kB / 0.9092 GB, free: 3.422 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003729/0.7954, allocations: 1.746 MB / 0.9109 GB, free: 1.672 MB / 0.67 GB Notification: Performance of sort global known variables: time 4.4e-07/0.7954, allocations: 4 kB / 0.9109 GB, free: 1.668 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002316/0.7978, allocations: 0.6866 MB / 0.9116 GB, free: 0.9805 MB / 0.67 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.00132/0.7991, allocations: 0.6143 MB / 0.9122 GB, free: 376 kB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004279/0.8034, allocations: 1.342 MB / 0.9135 GB, free: 15.03 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 8.656e-06/0.8034, allocations: 4 kB / 0.9135 GB, free: 15.02 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002399/0.8058, allocations: 0.6718 MB / 0.9142 GB, free: 14.35 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00668/0.8125, allocations: 1.33 MB / 0.9155 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006719/0.8193, allocations: 3.525 MB / 0.9189 GB, free: 9.445 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001222/0.8205, allocations: 1.486 MB / 0.9204 GB, free: 7.93 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001846/0.8224, allocations: 440.2 kB / 0.9208 GB, free: 7.5 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005041/0.8229, allocations: 167.4 kB / 0.9209 GB, free: 7.336 MB / 0.6856 GB Notification: Performance of SimCode: time 6.91e-07/0.8229, allocations: 0 / 0.9209 GB, free: 7.336 MB / 0.6856 GB Notification: Performance of Templates: time 0.3302/1.153, allocations: 48.15 MB / 0.968 GB, free: 240.5 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & ./BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)