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.00449/0.00449, allocations: 100.6 kB / 15.73 MB, free: 6.016 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.001028/0.001028, allocations: 185.5 kB / 16.67 MB, free: 5.938 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.338/1.338, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002129/0.002129, allocations: 297.5 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.9408/0.9408, allocations: 169.3 MB / 0.4983 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001737/0.001737, allocations: 95.84 kB / 0.6814 GB, free: 7.012 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4084/0.4102, allocations: 86.98 MB / 0.7664 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.117/0.5272, allocations: 132.2 MB / 0.8955 GB, free: 15.3 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.03157/0.5588, allocations: 23.21 MB / 0.9181 GB, free: 8.02 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004808/0.5636, allocations: 127.2 kB / 0.9183 GB, free: 7.895 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.004055/0.5677, allocations: 1.49 MB / 0.9197 GB, free: 6.395 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0105/0.5782, allocations: 4.1 MB / 0.9237 GB, free: 2.277 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.005307/0.5836, allocations: 2.175 MB / 0.9258 GB, free: 124 kB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.00866/0.5922, allocations: 6.538 MB / 0.9322 GB, free: 9.566 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003319/0.5956, allocations: 2.351 MB / 0.9345 GB, free: 7.156 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0062/0.6018, allocations: 2.748 MB / 0.9372 GB, free: 4.406 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003335/0.6052, allocations: 1.878 MB / 0.939 GB, free: 2.52 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0005565/0.6057, allocations: 248 kB / 0.9393 GB, free: 2.277 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004346/0.6101, allocations: 1.942 MB / 0.9412 GB, free: 340 kB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0006571/0.6108, allocations: 0.5954 MB / 0.9417 GB, free: 15.73 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002017/0.6128, allocations: 1.454 MB / 0.9432 GB, free: 14.27 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.007164/0.62, allocations: 4.405 MB / 0.9475 GB, free: 9.859 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.62, allocations: 0 / 0.9475 GB, free: 9.859 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.913e-06/0.62, allocations: 0 / 0.9475 GB, free: 9.859 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.257e-05/0.6201, allocations: 0 / 0.9475 GB, free: 9.859 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.005562/0.6256, allocations: 3.258 MB / 0.9506 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.6257, allocations: 8.031 kB / 0.9507 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004276/0.63, allocations: 0.8531 MB / 0.9515 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004507/0.6345, allocations: 2.352 MB / 0.9538 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001068/0.6346, allocations: 123 kB / 0.9539 GB, free: 3.102 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002254/0.6349, allocations: 160 kB / 0.9541 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004243/0.6391, allocations: 1.919 MB / 0.9559 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.83e-05/0.6392, allocations: 7.938 kB / 0.9559 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001666/0.6393, allocations: 60 kB / 0.956 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.675e-05/0.6394, allocations: 43.92 kB / 0.956 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3523/0.9917, allocations: 1.782 MB / 0.9578 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.01229/1.004, allocations: 8.982 MB / 0.9665 GB, free: 178 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004068/1.008, allocations: 1.197 MB / 0.9677 GB, free: 177.6 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001065/1.009, allocations: 460.9 kB / 0.9682 GB, free: 177.5 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000853/1.01, allocations: 1.725 MB / 0.9698 GB, free: 175.5 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/1.01, allocations: 41.25 kB / 0.9699 GB, free: 175.4 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=76): time 2.475e-06/1.01, allocations: 0 / 0.9699 GB, free: 175.4 MB / 0.7169 GB Notification: Performance of matching and sorting (n=76): time 0.008207/1.018, allocations: 2.346 MB / 0.9722 GB, free: 174.7 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/1.018, allocations: 85.05 kB / 0.9723 GB, free: 174.6 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003427/1.022, allocations: 2.494 MB / 0.9747 GB, free: 173.4 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001569/1.022, allocations: 45.64 kB / 0.9747 GB, free: 173.4 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006348/1.023, allocations: 1.044 MB / 0.9758 GB, free: 172.5 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002166/1.023, allocations: 286.9 kB / 0.976 GB, free: 172.3 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003594/1.023, allocations: 257.3 kB / 0.9763 GB, free: 172.1 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.296e-05/1.023, allocations: 345.8 kB / 0.9766 GB, free: 171.8 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001548/1.025, allocations: 0.572 MB / 0.9772 GB, free: 171.6 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001767/1.027, allocations: 0.9494 MB / 0.9781 GB, free: 170.8 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002605/1.029, allocations: 1.252 MB / 0.9793 GB, free: 170.1 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/1.029, allocations: 3.875 kB / 0.9793 GB, free: 170.1 MB / 0.7169 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00598/1.035, allocations: 2.029 MB / 0.9813 GB, free: 169.1 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/1.035, allocations: 7.812 kB / 0.9813 GB, free: 169.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/1.035, allocations: 7.844 kB / 0.9813 GB, free: 169.1 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001476/1.037, allocations: 419 kB / 0.9817 GB, free: 168.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/1.038, allocations: 287.1 kB / 0.982 GB, free: 168.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001807/1.04, allocations: 1.5 MB / 0.9834 GB, free: 167.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00251/1.042, allocations: 372.9 kB / 0.9838 GB, free: 167.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000123/1.042, allocations: 63.97 kB / 0.9839 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.0007056/1.043, allocations: 454.1 kB / 0.9843 GB, free: 166.8 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003807/1.044, allocations: 263.4 kB / 0.9845 GB, free: 166.6 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003153/1.047, allocations: 1.503 MB / 0.986 GB, free: 165.1 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.44e-05/1.047, allocations: 8 kB / 0.986 GB, free: 165 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/1.047, allocations: 4.875 kB / 0.986 GB, free: 165 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.798e-06/1.047, allocations: 3.984 kB / 0.986 GB, free: 165 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006317/1.053, allocations: 3.607 MB / 0.9896 GB, free: 161.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.095e-05/1.053, allocations: 4 kB / 0.9896 GB, free: 161.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005892/1.054, allocations: 132 kB / 0.9897 GB, free: 161.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001324/1.055, allocations: 417.2 kB / 0.9901 GB, free: 160.8 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.185e-05/1.055, allocations: 31.17 kB / 0.9901 GB, free: 160.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002245/1.057, allocations: 1.567 MB / 0.9916 GB, free: 159.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/1.057, allocations: 7.938 kB / 0.9917 GB, free: 159.2 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005776/1.063, allocations: 1.95 MB / 0.9936 GB, free: 157.2 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001036/1.064, allocations: 0.496 MB / 0.994 GB, free: 156.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003334/1.065, allocations: 20 kB / 0.9941 GB, free: 156.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001601/1.066, allocations: 139.8 kB / 0.9942 GB, free: 156.5 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.247e-05/1.066, allocations: 59.81 kB / 0.9942 GB, free: 156.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.074e-05/1.066, allocations: 39.95 kB / 0.9943 GB, free: 156.4 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002354/1.069, allocations: 1.746 MB / 0.996 GB, free: 154.7 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2e-07/1.069, allocations: 3.938 kB / 0.996 GB, free: 154.7 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001644/1.07, allocations: 0.6953 MB / 0.9967 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.0009269/1.071, allocations: 0.6169 MB / 0.9973 GB, free: 153.5 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003621/1.075, allocations: 1.342 MB / 0.9986 GB, free: 152.2 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/1.075, allocations: 192 / 0.9986 GB, free: 152.2 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002062/1.077, allocations: 0.664 MB / 0.9992 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.005524/1.083, allocations: 1.333 MB / 1.001 GB, free: 150.2 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004886/1.087, allocations: 3.599 MB / 1.004 GB, free: 146.5 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006344/1.088, allocations: 1.486 MB / 1.006 GB, free: 145 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001542/1.09, allocations: 434.9 kB / 1.006 GB, free: 144.6 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003491/1.09, allocations: 167.4 kB / 1.006 GB, free: 144.5 MB / 0.7169 GB Notification: Performance of SimCode: time 7.21e-07/1.09, allocations: 0 / 1.006 GB, free: 144.5 MB / 0.7169 GB Notification: Performance of Templates: time 0.05837/1.148, allocations: 48.55 MB / 1.053 GB, free: 96.69 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)