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.001967/0.001967, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001429/0.001429, allocations: 200.3 kB / 16.26 MB, free: 6.621 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.483/1.483, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002516/0.002516, allocations: 299 kB / 290.4 MB, free: 2.137 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.077/1.077, allocations: 178.6 MB / 0.5069 GB, free: 4.703 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002807/0.002807, allocations: 100.3 kB / 0.6059 GB, free: 25.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.1753, allocations: 89.15 MB / 0.693 GB, free: 4.688 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.4258/0.6012, allocations: 131 MB / 0.8209 GB, free: 2.457 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03404/0.6352, allocations: 23.06 MB / 0.8434 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0059/0.6412, allocations: 111.2 kB / 0.8435 GB, free: 0.7383 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.005055/0.6463, allocations: 1.288 MB / 0.8448 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01229/0.6586, allocations: 3.809 MB / 0.8485 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006514/0.6651, allocations: 1.985 MB / 0.8504 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01051/0.6757, allocations: 6.572 MB / 0.8569 GB, free: 7.324 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004451/0.6801, allocations: 2.336 MB / 0.8591 GB, free: 5.805 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007996/0.6882, allocations: 2.762 MB / 0.8618 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004616/0.6928, allocations: 1.933 MB / 0.8637 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001143/0.694, allocations: 251.9 kB / 0.864 GB, free: 2.391 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006225/0.7002, allocations: 1.953 MB / 0.8659 GB, free: 444 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001269/0.7015, allocations: 0.5993 MB / 0.8665 GB, free: 15.83 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00356/0.7051, allocations: 1.462 MB / 0.8679 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.009629/0.7147, allocations: 4.327 MB / 0.8721 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/0.7148, allocations: 0 / 0.8721 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.285e-06/0.7148, allocations: 0 / 0.8721 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001843/0.715, allocations: 3.938 kB / 0.8721 GB, free: 10.02 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.008244/0.7232, allocations: 3.16 MB / 0.8752 GB, free: 6.773 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.7233, allocations: 15.97 kB / 0.8752 GB, free: 6.758 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004872/0.7282, allocations: 0.8362 MB / 0.876 GB, free: 5.918 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005424/0.7336, allocations: 2.264 MB / 0.8783 GB, free: 3.578 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001061/0.7347, allocations: 298.8 kB / 0.8785 GB, free: 3.285 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004342/0.7352, allocations: 160 kB / 0.8787 GB, free: 3.129 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005264/0.7404, allocations: 1.934 MB / 0.8806 GB, free: 1.129 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.912e-05/0.7405, allocations: 3.938 kB / 0.8806 GB, free: 1.125 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002156/0.7407, allocations: 60 kB / 0.8806 GB, free: 1.066 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.035e-05/0.7408, allocations: 43.94 kB / 0.8807 GB, free: 1.023 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005232/0.746, allocations: 1.811 MB / 0.8824 GB, free: 15.21 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.01568/0.7617, allocations: 9.004 MB / 0.8912 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00476/0.7665, allocations: 1.193 MB / 0.8924 GB, free: 4.398 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001243/0.7678, allocations: 466.2 kB / 0.8929 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001586/0.7694, allocations: 1.722 MB / 0.8945 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.923e-05/0.7695, allocations: 42.31 kB / 0.8946 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=76): time 3.076e-06/0.7695, allocations: 0 / 0.8946 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76): time 0.009454/0.7789, allocations: 2.322 MB / 0.8968 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.371e-05/0.779, allocations: 85.11 kB / 0.8969 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005107/0.7841, allocations: 2.489 MB / 0.8994 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001721/0.7843, allocations: 45.7 kB / 0.8994 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001079/0.7854, allocations: 1.041 MB / 0.9004 GB, free: 11.69 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003511/0.7858, allocations: 272.1 kB / 0.9007 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005348/0.7863, allocations: 258.6 kB / 0.9009 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001828/0.7865, allocations: 349.9 kB / 0.9013 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00183/0.7884, allocations: 0.5803 MB / 0.9018 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002232/0.7906, allocations: 0.9705 MB / 0.9028 GB, free: 9.105 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003306/0.7939, allocations: 1.264 MB / 0.904 GB, free: 7.738 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.949e-06/0.794, allocations: 4 kB / 0.904 GB, free: 7.734 MB / 0.6231 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007204/0.8012, allocations: 2.044 MB / 0.906 GB, free: 5.672 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.866e-05/0.8012, allocations: 8 kB / 0.906 GB, free: 5.664 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.641e-05/0.8012, allocations: 11.94 kB / 0.906 GB, free: 5.652 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001691/0.8029, allocations: 436.3 kB / 0.9064 GB, free: 5.223 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001309/0.8043, allocations: 287.6 kB / 0.9067 GB, free: 4.941 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002428/0.8067, allocations: 1.495 MB / 0.9082 GB, free: 3.395 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00328/0.81, allocations: 434 kB / 0.9086 GB, free: 2.969 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000278/0.8103, allocations: 67.97 kB / 0.9086 GB, free: 2.902 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.001196/0.8115, allocations: 458 kB / 0.9091 GB, free: 2.445 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007915/0.8123, allocations: 248.9 kB / 0.9093 GB, free: 2.199 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00433/0.8167, allocations: 1.507 MB / 0.9108 GB, free: 0.6758 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.642e-05/0.8167, allocations: 12 kB / 0.9108 GB, free: 0.6641 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.238e-06/0.8167, allocations: 0 / 0.9108 GB, free: 0.6641 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.015e-05/0.8168, allocations: 3.984 kB / 0.9108 GB, free: 0.6602 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009561/0.8263, allocations: 3.598 MB / 0.9143 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.49e-05/0.8264, allocations: 4 kB / 0.9143 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006707/0.827, allocations: 136.1 kB / 0.9145 GB, free: 12.81 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00162/0.8287, allocations: 409.2 kB / 0.9148 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.123e-05/0.8288, allocations: 31.97 kB / 0.9149 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00281/0.8316, allocations: 1.568 MB / 0.9164 GB, free: 10.76 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.002e-06/0.8316, allocations: 4 kB / 0.9164 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006744/0.8384, allocations: 1.931 MB / 0.9183 GB, free: 8.758 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001296/0.8397, allocations: 485.4 kB / 0.9188 GB, free: 8.262 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008229/0.8405, allocations: 24.17 kB / 0.9188 GB, free: 8.238 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002311/0.8429, allocations: 171.7 kB / 0.9189 GB, free: 8.07 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000127/0.843, allocations: 63.8 kB / 0.919 GB, free: 8.008 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001278/0.8431, allocations: 43.97 kB / 0.9191 GB, free: 7.965 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.004048/0.8472, allocations: 1.738 MB / 0.9207 GB, free: 6.223 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7.51e-07/0.8472, allocations: 0 / 0.9207 GB, free: 6.223 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002702/0.8499, allocations: 0.6828 MB / 0.9214 GB, free: 5.539 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.001554/0.8515, allocations: 0.5985 MB / 0.922 GB, free: 4.941 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.005068/0.8566, allocations: 1.392 MB / 0.9234 GB, free: 3.547 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/0.8566, allocations: 4 kB / 0.9234 GB, free: 3.543 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002494/0.8591, allocations: 0.6601 MB / 0.924 GB, free: 2.883 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007099/0.8662, allocations: 1.334 MB / 0.9253 GB, free: 1.586 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008181/0.8744, allocations: 4.296 MB / 0.9295 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001498/0.876, allocations: 1.486 MB / 0.931 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002259/0.8782, allocations: 435.6 kB / 0.9314 GB, free: 11.28 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005515/0.8788, allocations: 171.4 kB / 0.9315 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of SimCode: time 5.91e-07/0.8788, allocations: 0 / 0.9315 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of Templates: time 0.1001/0.9789, allocations: 50.2 MB / 0.9806 GB, free: 9.621 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)