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.005158/0.005158, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001104/0.001104, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.324/1.324, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002102/0.002102, allocations: 292.7 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.945/0.945, allocations: 169.3 MB / 0.4983 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001855/0.001855, allocations: 99.84 kB / 0.6814 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4258/0.4277, allocations: 86.97 MB / 0.7664 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1187/0.5464, allocations: 132.2 MB / 0.8955 GB, free: 15.29 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02973/0.5762, allocations: 23.22 MB / 0.9181 GB, free: 8.004 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003549/0.5798, allocations: 123.2 kB / 0.9183 GB, free: 7.883 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.003463/0.5833, allocations: 1.494 MB / 0.9197 GB, free: 6.379 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01032/0.5936, allocations: 4.099 MB / 0.9237 GB, free: 2.262 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004828/0.5985, allocations: 2.165 MB / 0.9258 GB, free: 116 kB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.00807/0.6066, allocations: 6.537 MB / 0.9322 GB, free: 9.562 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003351/0.6099, allocations: 2.347 MB / 0.9345 GB, free: 7.152 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006279/0.6162, allocations: 2.804 MB / 0.9373 GB, free: 4.344 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003099/0.6194, allocations: 1.878 MB / 0.9391 GB, free: 2.457 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0006979/0.6201, allocations: 248 kB / 0.9393 GB, free: 2.215 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004138/0.6242, allocations: 1.934 MB / 0.9412 GB, free: 284 kB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0005589/0.6248, allocations: 0.5955 MB / 0.9418 GB, free: 15.68 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001852/0.6266, allocations: 1.446 MB / 0.9432 GB, free: 14.22 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00651/0.6332, allocations: 4.384 MB / 0.9475 GB, free: 9.832 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.6332, allocations: 4 kB / 0.9475 GB, free: 9.828 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.493e-06/0.6332, allocations: 0 / 0.9475 GB, free: 9.828 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.877e-05/0.6333, allocations: 0 / 0.9475 GB, free: 9.828 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.005402/0.6387, allocations: 3.172 MB / 0.9506 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.6387, allocations: 12.03 kB / 0.9506 GB, free: 6.559 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004057/0.6428, allocations: 0.8399 MB / 0.9514 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004372/0.6472, allocations: 2.323 MB / 0.9537 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001113/0.6473, allocations: 131 kB / 0.9538 GB, free: 3.188 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002158/0.6475, allocations: 163.9 kB / 0.954 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003847/0.6514, allocations: 1.919 MB / 0.9558 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.059e-05/0.6514, allocations: 3.938 kB / 0.9558 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001408/0.6516, allocations: 67.98 kB / 0.9559 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.256e-05/0.6516, allocations: 43.94 kB / 0.956 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3385/0.9901, 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.01323/1.003, allocations: 8.958 MB / 0.9664 GB, free: 178 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00396/1.007, allocations: 1.197 MB / 0.9676 GB, free: 177.7 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001024/1.008, allocations: 456.6 kB / 0.968 GB, free: 177.5 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007878/1.009, allocations: 1.722 MB / 0.9697 GB, free: 175.5 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.199e-05/1.009, allocations: 44.81 kB / 0.9698 GB, free: 175.5 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=76): time 3.026e-06/1.009, allocations: 1.188 kB / 0.9698 GB, free: 175.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=76): time 0.007743/1.017, allocations: 2.327 MB / 0.972 GB, free: 174.7 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.696e-05/1.017, allocations: 88.14 kB / 0.9721 GB, free: 174.6 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00287/1.02, allocations: 2.493 MB / 0.9746 GB, free: 173.4 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.965e-05/1.02, allocations: 45.58 kB / 0.9746 GB, free: 173.4 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006099/1.021, allocations: 1.039 MB / 0.9756 GB, free: 172.5 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002098/1.021, allocations: 271.2 kB / 0.9759 GB, free: 172.3 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003888/1.021, allocations: 249.5 kB / 0.9761 GB, free: 172.1 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.135e-05/1.021, allocations: 353.8 kB / 0.9765 GB, free: 171.8 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001477/1.023, allocations: 0.5659 MB / 0.977 GB, free: 171.5 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001665/1.024, allocations: 0.9552 MB / 0.9779 GB, free: 170.8 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002458/1.027, allocations: 1.249 MB / 0.9792 GB, free: 170 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/1.027, allocations: 2.5 kB / 0.9792 GB, free: 170 MB / 0.7169 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005493/1.032, allocations: 2.018 MB / 0.9811 GB, free: 169.1 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/1.032, allocations: 6.719 kB / 0.9811 GB, free: 169.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/1.033, allocations: 8.375 kB / 0.9811 GB, free: 169.1 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001386/1.034, allocations: 416.7 kB / 0.9815 GB, free: 168.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/1.035, allocations: 288.5 kB / 0.9818 GB, free: 168.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001717/1.037, allocations: 1.503 MB / 0.9833 GB, free: 167.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002279/1.039, allocations: 371.5 kB / 0.9836 GB, free: 167.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001097/1.039, allocations: 56.75 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.0006933/1.04, allocations: 461.9 kB / 0.9841 GB, free: 166.9 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003039/1.04, allocations: 248.9 kB / 0.9844 GB, free: 166.6 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003002/1.043, allocations: 1.507 MB / 0.9858 GB, free: 165.1 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.572e-05/1.043, allocations: 8.656 kB / 0.9859 GB, free: 165.1 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/1.043, allocations: 0 / 0.9859 GB, free: 165.1 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/1.043, allocations: 3.984 kB / 0.9859 GB, free: 165.1 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005949/1.049, allocations: 3.611 MB / 0.9894 GB, free: 161.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.363e-06/1.049, allocations: 0 / 0.9894 GB, free: 161.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005413/1.05, allocations: 128.2 kB / 0.9895 GB, free: 161.3 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001215/1.051, allocations: 413.2 kB / 0.9899 GB, free: 160.9 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.299e-05/1.051, allocations: 24.64 kB / 0.9899 GB, free: 160.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002096/1.053, allocations: 1.573 MB / 0.9915 GB, free: 159.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/1.053, allocations: 7.344 kB / 0.9915 GB, free: 159.2 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00513/1.058, allocations: 1.947 MB / 0.9934 GB, free: 157.2 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009129/1.059, allocations: 493.5 kB / 0.9938 GB, free: 156.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002676/1.059, allocations: 20 kB / 0.9939 GB, free: 156.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001499/1.061, allocations: 135.8 kB / 0.994 GB, free: 156.6 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.428e-05/1.061, allocations: 55.86 kB / 0.994 GB, free: 156.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.724e-05/1.061, allocations: 39.97 kB / 0.9941 GB, free: 156.5 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002331/1.063, allocations: 1.75 MB / 0.9958 GB, free: 154.7 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.71e-07/1.063, allocations: 0 / 0.9958 GB, free: 154.7 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001658/1.065, allocations: 0.6828 MB / 0.9965 GB, free: 154.1 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.0009653/1.066, allocations: 0.6172 MB / 0.9971 GB, free: 153.5 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003439/1.07, allocations: 1.348 MB / 0.9984 GB, free: 152.2 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/1.07, allocations: 4.188 kB / 0.9984 GB, free: 152.2 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001983/1.072, allocations: 0.6523 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.005296/1.077, allocations: 1.337 MB / 1 GB, free: 150.2 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005044/1.082, allocations: 3.524 MB / 1.004 GB, free: 146.7 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006285/1.083, allocations: 1.49 MB / 1.005 GB, free: 145.1 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001368/1.084, allocations: 438.3 kB / 1.006 GB, free: 144.7 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003423/1.084, allocations: 167.4 kB / 1.006 GB, free: 144.6 MB / 0.7169 GB Notification: Performance of SimCode: time 7.72e-07/1.084, allocations: 3.938 kB / 1.006 GB, free: 144.6 MB / 0.7169 GB Notification: Performance of Templates: time 0.05915/1.143, allocations: 49.53 MB / 1.054 GB, free: 95.82 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)