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.001415/0.001415, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001456/0.001456, allocations: 198.3 kB / 16.14 MB, free: 6.797 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.418/1.418, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002541/0.002541, allocations: 305.1 kB / 290.2 MB, free: 2.199 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.07/1.07, allocations: 178.6 MB / 0.5068 GB, free: 4.773 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002765/0.002765, allocations: 99.48 kB / 0.6057 GB, free: 25.13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1736/0.1764, allocations: 89.16 MB / 0.6928 GB, free: 4.848 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.4238/0.6002, allocations: 131.3 MB / 0.821 GB, free: 2.398 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03454/0.6348, allocations: 23.32 MB / 0.8438 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004992/0.6398, allocations: 116.1 kB / 0.8439 GB, free: 0.5625 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004382/0.6443, allocations: 1.208 MB / 0.8451 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0112/0.6555, allocations: 3.781 MB / 0.8488 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00563/0.6612, allocations: 1.949 MB / 0.8507 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.009602/0.6708, allocations: 8.284 MB / 0.8588 GB, free: 6.402 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002817/0.6736, allocations: 1.953 MB / 0.8607 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00468/0.6783, allocations: 2.359 MB / 0.863 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002762/0.6811, allocations: 1.87 MB / 0.8648 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003142/0.6814, allocations: 120 kB / 0.8649 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004168/0.6856, allocations: 1.746 MB / 0.8666 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005363/0.6861, allocations: 493.6 kB / 0.8671 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001625/0.6878, allocations: 1.321 MB / 0.8684 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005508/0.6933, allocations: 4.23 MB / 0.8725 GB, free: 9.559 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.6933, allocations: 0 / 0.8725 GB, free: 9.559 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.223e-06/0.6933, allocations: 7.875 kB / 0.8725 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.287e-05/0.6934, allocations: 4 kB / 0.8725 GB, free: 9.547 MB / 0.5919 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.00574/0.6991, allocations: 3.156 MB / 0.8756 GB, free: 6.305 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.6991, allocations: 8.031 kB / 0.8756 GB, free: 6.297 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004736/0.7039, allocations: 0.8401 MB / 0.8764 GB, free: 5.453 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004872/0.7088, allocations: 2.268 MB / 0.8787 GB, free: 3.109 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009986/0.7098, allocations: 290.9 kB / 0.8789 GB, free: 2.824 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003214/0.7101, allocations: 160 kB / 0.8791 GB, free: 2.668 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004583/0.7147, allocations: 1.942 MB / 0.881 GB, free: 0.6602 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.056e-05/0.7148, allocations: 0 / 0.881 GB, free: 0.6602 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001652/0.7149, allocations: 64 kB / 0.881 GB, free: 0.5977 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.883e-05/0.715, allocations: 39.94 kB / 0.8811 GB, free: 0.5586 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005111/0.7201, allocations: 1.811 MB / 0.8829 GB, free: 14.74 MB / 0.6075 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.01439/0.7345, allocations: 9.008 MB / 0.8917 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004546/0.7391, allocations: 1.192 MB / 0.8928 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001198/0.7403, allocations: 457.4 kB / 0.8933 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001423/0.7417, allocations: 1.719 MB / 0.8949 GB, free: 1.371 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.014e-05/0.7418, allocations: 50.25 kB / 0.895 GB, free: 1.312 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=76): time 2.424e-06/0.7418, allocations: 4 kB / 0.895 GB, free: 1.309 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76): time 0.009139/0.751, allocations: 2.31 MB / 0.8972 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.814e-05/0.751, allocations: 93.09 kB / 0.8973 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004236/0.7553, allocations: 2.481 MB / 0.8997 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001286/0.7554, allocations: 45.7 kB / 0.8998 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001065/0.7565, allocations: 1.057 MB / 0.9008 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003057/0.7568, allocations: 272.1 kB / 0.9011 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004613/0.7573, allocations: 254.6 kB / 0.9013 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001707/0.7575, allocations: 345.9 kB / 0.9017 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001891/0.7594, allocations: 0.5881 MB / 0.9022 GB, free: 9.762 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002329/0.7617, allocations: 0.9705 MB / 0.9032 GB, free: 8.637 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003247/0.765, allocations: 1.26 MB / 0.9044 GB, free: 7.277 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.397e-06/0.765, allocations: 4 kB / 0.9044 GB, free: 7.273 MB / 0.6231 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006995/0.772, allocations: 2.044 MB / 0.9064 GB, free: 5.211 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.096e-05/0.772, allocations: 8 kB / 0.9064 GB, free: 5.203 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.856e-05/0.772, allocations: 10.19 kB / 0.9064 GB, free: 5.195 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001832/0.7739, allocations: 425.4 kB / 0.9068 GB, free: 4.773 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001346/0.7752, allocations: 287.6 kB / 0.9071 GB, free: 4.492 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002398/0.7777, allocations: 1.509 MB / 0.9086 GB, free: 2.934 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003223/0.7809, allocations: 430 kB / 0.909 GB, free: 2.512 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001682/0.7811, allocations: 63.95 kB / 0.9091 GB, free: 2.449 MB / 0.6231 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.00105/0.7821, allocations: 458.8 kB / 0.9095 GB, free: 1.992 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000598/0.7827, allocations: 248.9 kB / 0.9097 GB, free: 1.746 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003879/0.7866, allocations: 1.501 MB / 0.9112 GB, free: 236 kB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.176e-05/0.7867, allocations: 12 kB / 0.9112 GB, free: 224 kB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/0.7867, allocations: 4 kB / 0.9112 GB, free: 220 kB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.354e-05/0.7867, allocations: 7.969 kB / 0.9112 GB, free: 212 kB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008004/0.7947, allocations: 3.587 MB / 0.9147 GB, free: 12.51 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.649e-06/0.7947, allocations: 8.031 kB / 0.9147 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006357/0.7954, allocations: 127.8 kB / 0.9148 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00152/0.7969, allocations: 425.2 kB / 0.9153 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.51e-05/0.797, allocations: 23.98 kB / 0.9153 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002688/0.7997, allocations: 1.57 MB / 0.9168 GB, free: 10.31 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.7997, allocations: 4 kB / 0.9168 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006033/0.8057, allocations: 1.931 MB / 0.9187 GB, free: 8.309 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009564/0.8067, allocations: 493.7 kB / 0.9192 GB, free: 7.805 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000312/0.807, allocations: 16 kB / 0.9192 GB, free: 7.789 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001792/0.8088, allocations: 183.5 kB / 0.9194 GB, free: 7.609 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.879e-05/0.8089, allocations: 59.81 kB / 0.9194 GB, free: 7.551 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001068/0.809, allocations: 43.95 kB / 0.9195 GB, free: 7.508 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00311/0.8122, allocations: 1.746 MB / 0.9212 GB, free: 5.758 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8122, allocations: 0 / 0.9212 GB, free: 5.758 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001938/0.8141, allocations: 0.675 MB / 0.9218 GB, free: 5.082 MB / 0.6387 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.001193/0.8153, allocations: 0.5966 MB / 0.9224 GB, free: 4.488 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004353/0.8197, allocations: 1.346 MB / 0.9237 GB, free: 3.141 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.8197, allocations: 0 / 0.9237 GB, free: 3.141 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002413/0.8221, allocations: 0.6679 MB / 0.9244 GB, free: 2.473 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005849/0.828, allocations: 1.259 MB / 0.9256 GB, free: 1.23 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006833/0.8348, allocations: 4.291 MB / 0.9298 GB, free: 12.87 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001193/0.836, allocations: 1.486 MB / 0.9312 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002019/0.838, allocations: 433.3 kB / 0.9317 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004358/0.8385, allocations: 171.4 kB / 0.9318 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of SimCode: time 6.91e-07/0.8385, allocations: 0 / 0.9318 GB, free: 10.77 MB / 0.6544 GB Notification: Performance of Templates: time 0.08312/0.9216, allocations: 48.39 MB / 0.9791 GB, free: 11.03 MB / 0.7012 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)