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.001075/0.001075, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001101/0.001102, allocations: 193.4 kB / 16.14 MB, free: 6.707 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.332/1.332, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002047/0.002048, allocations: 298.5 kB / 290.2 MB, free: 2.188 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9279/0.9279, allocations: 169.2 MB / 0.4977 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001679/0.001679, allocations: 94.64 kB / 0.5945 GB, free: 28.5 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1542/0.1559, allocations: 86.98 MB / 0.6794 GB, free: 1.156 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.426/0.5819, allocations: 131.3 MB / 0.8077 GB, free: 33.43 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02603/0.6079, allocations: 23.31 MB / 0.8304 GB, free: 25.64 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004729/0.6127, allocations: 118.2 kB / 0.8305 GB, free: 25.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00373/0.6165, allocations: 1.208 MB / 0.8317 GB, free: 24.87 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01006/0.6266, allocations: 3.775 MB / 0.8354 GB, free: 22.6 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005007/0.6316, allocations: 1.964 MB / 0.8373 GB, free: 21.44 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.009252/0.6408, allocations: 8.282 MB / 0.8454 GB, free: 16.94 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00415/0.645, allocations: 1.968 MB / 0.8473 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006689/0.6517, allocations: 2.364 MB / 0.8496 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00306/0.6548, allocations: 1.86 MB / 0.8515 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0006928/0.6555, allocations: 119.8 kB / 0.8516 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005059/0.6606, allocations: 1.738 MB / 0.8533 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0007217/0.6614, allocations: 496.1 kB / 0.8537 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001838/0.6632, allocations: 1.322 MB / 0.855 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004766/0.668, allocations: 4.233 MB / 0.8592 GB, free: 8.207 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.668, allocations: 0 / 0.8592 GB, free: 8.207 MB / 0.5606 GB Notification: Performance of FrontEnd: time 7.92e-07/0.668, allocations: 6.781 kB / 0.8592 GB, free: 8.203 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.982e-05/0.668, allocations: 0 / 0.8592 GB, free: 8.203 MB / 0.5606 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.004578/0.6726, allocations: 3.153 MB / 0.8623 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.6727, allocations: 14.22 kB / 0.8623 GB, free: 5.855 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004204/0.6769, allocations: 0.8415 MB / 0.8631 GB, free: 5.469 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003558/0.6805, allocations: 2.268 MB / 0.8653 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008365/0.6813, allocations: 286.9 kB / 0.8656 GB, free: 2.945 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000186/0.6815, allocations: 164 kB / 0.8657 GB, free: 2.785 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003412/0.6849, allocations: 1.938 MB / 0.8676 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.981e-05/0.685, allocations: 3.938 kB / 0.8676 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001342/0.6851, allocations: 64 kB / 0.8677 GB, free: 0.7148 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.1e-05/0.6851, allocations: 43.88 kB / 0.8677 GB, free: 0.6719 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004493/0.6896, allocations: 1.811 MB / 0.8695 GB, free: 14.86 MB / 0.5762 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.01232/0.702, allocations: 9.007 MB / 0.8783 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004297/0.7063, allocations: 1.189 MB / 0.8795 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001056/0.7074, allocations: 462 kB / 0.8799 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001075/0.7084, allocations: 1.727 MB / 0.8816 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.7085, allocations: 42.31 kB / 0.8816 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=76): time 2.355e-06/0.7085, allocations: 0 / 0.8816 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of matching and sorting (n=76): time 0.008649/0.7171, allocations: 2.332 MB / 0.8839 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.764e-05/0.7172, allocations: 85.11 kB / 0.884 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003836/0.7211, allocations: 2.493 MB / 0.8864 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001349/0.7212, allocations: 41.7 kB / 0.8865 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008353/0.7221, allocations: 1.041 MB / 0.8875 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002682/0.7223, allocations: 276.1 kB / 0.8877 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004256/0.7228, allocations: 250.6 kB / 0.888 GB, free: 10.81 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.7229, allocations: 357.9 kB / 0.8883 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001741/0.7246, allocations: 0.5803 MB / 0.8889 GB, free: 9.871 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0021/0.7268, allocations: 0.9738 MB / 0.8898 GB, free: 8.754 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002902/0.7297, allocations: 1.264 MB / 0.8911 GB, free: 7.383 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.351e-06/0.7297, allocations: 4 kB / 0.8911 GB, free: 7.379 MB / 0.5919 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006455/0.7361, allocations: 2.04 MB / 0.8931 GB, free: 5.32 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.512e-05/0.7362, allocations: 8.625 kB / 0.8931 GB, free: 5.312 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/0.7362, allocations: 12 kB / 0.8931 GB, free: 5.301 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001626/0.7378, allocations: 409.2 kB / 0.8935 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001243/0.7391, allocations: 291.5 kB / 0.8938 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002065/0.7412, allocations: 1.503 MB / 0.8952 GB, free: 3.055 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003262/0.7445, allocations: 442.8 kB / 0.8956 GB, free: 2.621 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001414/0.7446, allocations: 63.95 kB / 0.8957 GB, free: 2.559 MB / 0.5919 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.0008629/0.7455, allocations: 465.4 kB / 0.8961 GB, free: 2.094 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004194/0.7459, allocations: 244.9 kB / 0.8964 GB, free: 1.852 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003484/0.7494, allocations: 1.499 MB / 0.8978 GB, free: 352 kB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.748e-05/0.7494, allocations: 8 kB / 0.8979 GB, free: 344 kB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.066e-06/0.7494, allocations: 4 kB / 0.8979 GB, free: 340 kB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.7495, allocations: 7.969 kB / 0.8979 GB, free: 332 kB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007088/0.7566, allocations: 3.594 MB / 0.9014 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-05/0.7566, allocations: 4 kB / 0.9014 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006271/0.7572, allocations: 124.2 kB / 0.9015 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001447/0.7587, allocations: 423.6 kB / 0.9019 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.409e-05/0.7588, allocations: 27.98 kB / 0.9019 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002365/0.7611, allocations: 1.569 MB / 0.9035 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.7611, allocations: 4 kB / 0.9035 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005525/0.7667, allocations: 1.938 MB / 0.9054 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008292/0.7675, allocations: 489.5 kB / 0.9058 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000308/0.7678, allocations: 16 kB / 0.9058 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001733/0.7696, allocations: 175.7 kB / 0.906 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.768e-05/0.7697, allocations: 59.81 kB / 0.9061 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.079e-05/0.7698, allocations: 51.89 kB / 0.9061 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002662/0.7724, allocations: 1.738 MB / 0.9078 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7724, allocations: 0 / 0.9078 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001822/0.7743, allocations: 0.675 MB / 0.9085 GB, free: 5.207 MB / 0.6075 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.00114/0.7754, allocations: 0.6084 MB / 0.9091 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003909/0.7793, allocations: 1.346 MB / 0.9104 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.7794, allocations: 4 kB / 0.9104 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002229/0.7816, allocations: 0.657 MB / 0.911 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005289/0.7869, allocations: 1.258 MB / 0.9122 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006018/0.7929, allocations: 4.3 MB / 0.9164 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009476/0.7939, allocations: 1.482 MB / 0.9179 GB, free: 11.47 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001805/0.7957, allocations: 439.4 kB / 0.9183 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003977/0.7961, allocations: 171.4 kB / 0.9185 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of SimCode: time 5.61e-07/0.7961, allocations: 0 / 0.9185 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of Templates: time 0.07367/0.8698, allocations: 48.4 MB / 0.9657 GB, free: 11.13 MB / 0.67 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)