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.005373/0.005372, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001153/0.001153, allocations: 195.6 kB / 16.67 MB, free: 5.52 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.27/1.27, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001958/0.001958, allocations: 294.7 kB / 290.8 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8918/0.8918, allocations: 169.2 MB / 0.4983 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001648/0.001648, allocations: 91.86 kB / 0.6814 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4486/0.4502, allocations: 86.97 MB / 0.7664 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1198/0.5701, allocations: 132.2 MB / 0.8955 GB, free: 15.26 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02905/0.5992, allocations: 23.22 MB / 0.9181 GB, free: 7.988 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003934/0.6031, allocations: 123.2 kB / 0.9183 GB, free: 7.867 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.003413/0.6066, allocations: 1.502 MB / 0.9197 GB, free: 6.355 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.009614/0.6163, allocations: 4.095 MB / 0.9237 GB, free: 2.242 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004628/0.6209, allocations: 2.155 MB / 0.9258 GB, free: 108 kB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.007733/0.6286, allocations: 6.54 MB / 0.9322 GB, free: 9.547 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002893/0.6316, allocations: 2.355 MB / 0.9345 GB, free: 7.129 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005213/0.6368, allocations: 2.791 MB / 0.9372 GB, free: 4.332 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002368/0.6392, allocations: 1.879 MB / 0.9391 GB, free: 2.445 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0003218/0.6395, allocations: 244 kB / 0.9393 GB, free: 2.207 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003669/0.6432, allocations: 1.938 MB / 0.9412 GB, free: 272 kB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0005065/0.6437, allocations: 0.5954 MB / 0.9418 GB, free: 15.66 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001337/0.645, allocations: 1.454 MB / 0.9432 GB, free: 14.2 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.005247/0.6503, allocations: 4.384 MB / 0.9475 GB, free: 9.812 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.6503, allocations: 8 kB / 0.9475 GB, free: 9.805 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.433e-06/0.6503, allocations: 0 / 0.9475 GB, free: 9.805 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.181e-05/0.6504, allocations: 0 / 0.9475 GB, free: 9.805 MB / 0.7169 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.004953/0.6553, allocations: 3.164 MB / 0.9506 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.6554, allocations: 12.03 kB / 0.9506 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004386/0.6598, allocations: 0.8399 MB / 0.9514 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004025/0.6638, allocations: 2.323 MB / 0.9537 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.779e-05/0.6639, allocations: 131 kB / 0.9538 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002214/0.6641, allocations: 164 kB / 0.954 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003879/0.668, allocations: 1.923 MB / 0.9558 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.523e-05/0.6681, allocations: 0 / 0.9558 GB, free: 1.023 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001552/0.6682, allocations: 64 kB / 0.9559 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.883e-05/0.6683, allocations: 39.94 kB / 0.9559 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.338/1.006, allocations: 1.782 MB / 0.9577 GB, free: 184 MB / 0.7169 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.01272/1.019, allocations: 8.957 MB / 0.9664 GB, free: 178 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004168/1.023, allocations: 1.205 MB / 0.9676 GB, free: 177.7 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001006/1.024, allocations: 459.7 kB / 0.968 GB, free: 177.5 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007111/1.025, allocations: 1.721 MB / 0.9697 GB, free: 175.5 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/1.025, allocations: 45.53 kB / 0.9698 GB, free: 175.5 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=76): time 2.365e-06/1.025, allocations: 0 / 0.9698 GB, free: 175.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=76): time 0.00883/1.034, allocations: 2.326 MB / 0.972 GB, free: 174.7 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/1.034, allocations: 84.98 kB / 0.9721 GB, free: 174.6 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003173/1.037, allocations: 2.498 MB / 0.9746 GB, free: 173.4 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.905e-05/1.037, allocations: 45.61 kB / 0.9746 GB, free: 173.4 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005985/1.038, allocations: 1.035 MB / 0.9756 GB, free: 172.5 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001824/1.038, allocations: 278.6 kB / 0.9759 GB, free: 172.3 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003488/1.038, allocations: 253.2 kB / 0.9761 GB, free: 172.1 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.216e-05/1.038, allocations: 341.9 kB / 0.9764 GB, free: 171.8 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001543/1.04, allocations: 0.5734 MB / 0.977 GB, free: 171.5 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001747/1.042, allocations: 0.9523 MB / 0.9779 GB, free: 170.8 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002587/1.044, allocations: 1.252 MB / 0.9792 GB, free: 170 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/1.044, allocations: 0 / 0.9792 GB, free: 170 MB / 0.7169 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005697/1.05, allocations: 2.018 MB / 0.9811 GB, free: 169.1 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/1.05, allocations: 10.88 kB / 0.9811 GB, free: 169.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/1.05, allocations: 10.92 kB / 0.9812 GB, free: 169.1 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001423/1.052, allocations: 415.8 kB / 0.9815 GB, free: 168.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001111/1.053, allocations: 292.8 kB / 0.9818 GB, free: 168.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00179/1.054, allocations: 1.494 MB / 0.9833 GB, free: 167.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0024/1.057, allocations: 368.2 kB / 0.9836 GB, free: 167.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001106/1.057, allocations: 62.7 kB / 0.9837 GB, free: 167.3 MB / 0.7169 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.0006755/1.058, allocations: 457.2 kB / 0.9841 GB, free: 166.9 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003069/1.058, allocations: 248.9 kB / 0.9844 GB, free: 166.6 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003048/1.061, allocations: 1.499 MB / 0.9858 GB, free: 165.1 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.446e-05/1.061, allocations: 12.66 kB / 0.9858 GB, free: 165.1 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/1.061, allocations: 8.859 kB / 0.9859 GB, free: 165.1 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/1.061, allocations: 3.984 kB / 0.9859 GB, free: 165.1 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006119/1.067, allocations: 3.598 MB / 0.9894 GB, free: 161.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/1.067, allocations: 7.938 kB / 0.9894 GB, free: 161.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005757/1.068, allocations: 127.8 kB / 0.9895 GB, free: 161.3 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001233/1.069, allocations: 413.5 kB / 0.9899 GB, free: 160.9 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.92e-05/1.069, allocations: 35.16 kB / 0.9899 GB, free: 160.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002211/1.071, allocations: 1.565 MB / 0.9915 GB, free: 159.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/1.071, allocations: 7.938 kB / 0.9915 GB, free: 159.2 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005259/1.077, allocations: 1.951 MB / 0.9934 GB, free: 157.2 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006181/1.077, allocations: 485.5 kB / 0.9938 GB, free: 156.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003122/1.078, allocations: 27.98 kB / 0.9939 GB, free: 156.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001568/1.079, allocations: 135.8 kB / 0.994 GB, free: 156.6 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.322e-05/1.079, allocations: 55.8 kB / 0.994 GB, free: 156.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.86e-05/1.079, allocations: 43.97 kB / 0.9941 GB, free: 156.5 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002216/1.082, allocations: 1.746 MB / 0.9958 GB, free: 154.7 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.5e-07/1.082, allocations: 0 / 0.9958 GB, free: 154.7 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001526/1.083, allocations: 0.6906 MB / 0.9965 GB, free: 154 MB / 0.7169 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.0008773/1.084, allocations: 0.6086 MB / 0.9971 GB, free: 153.5 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0036/1.088, allocations: 1.344 MB / 0.9984 GB, free: 152.2 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/1.088, allocations: 0 / 0.9984 GB, free: 152.2 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002144/1.09, allocations: 0.6642 MB / 0.999 GB, free: 151.5 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005282/1.095, allocations: 1.335 MB / 1 GB, free: 150.2 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005114/1.1, allocations: 3.516 MB / 1.004 GB, free: 146.6 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006649/1.101, allocations: 1.494 MB / 1.005 GB, free: 145.1 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001598/1.102, allocations: 432.2 kB / 1.006 GB, free: 144.7 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003511/1.103, allocations: 163.4 kB / 1.006 GB, free: 144.6 MB / 0.7169 GB Notification: Performance of SimCode: time 4.31e-07/1.103, allocations: 0 / 1.006 GB, free: 144.6 MB / 0.7169 GB Notification: Performance of Templates: time 0.05788/1.161, allocations: 48.56 MB / 1.053 GB, free: 96.78 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)