Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.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.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") translateModel(BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007687/0.0007688, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.0049/0.0049, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.413/1.413, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001691/0.001691, allocations: 255.1 kB / 291.7 MB, free: 1.883 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9448/0.9448, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004054/0.0004054, allocations: 22.03 kB / 0.5987 GB, free: 28.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1653, allocations: 88.54 MB / 0.6851 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.05437/0.2197, allocations: 59.73 MB / 0.7434 GB, free: 3.195 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01573/0.2355, allocations: 11.91 MB / 0.7551 GB, free: 7.254 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002245/0.2377, allocations: 55.56 kB / 0.7551 GB, free: 7.199 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00169/0.2395, allocations: 0.5477 MB / 0.7557 GB, free: 6.648 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005299/0.2448, allocations: 1.812 MB / 0.7574 GB, free: 4.832 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002931/0.2477, allocations: 1.067 MB / 0.7585 GB, free: 3.773 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.3458/0.5935, allocations: 3.897 MB / 0.7623 GB, free: 23.91 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00213/0.5957, allocations: 0.9006 MB / 0.7632 GB, free: 23.83 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002918/0.5986, allocations: 1.116 MB / 0.7643 GB, free: 23.83 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001973/0.6006, allocations: 0.8601 MB / 0.7651 GB, free: 23.83 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002065/0.6008, allocations: 42.67 kB / 0.7651 GB, free: 23.83 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003661/0.6045, allocations: 1.348 MB / 0.7664 GB, free: 23.83 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002917/0.6048, allocations: 218.7 kB / 0.7667 GB, free: 23.83 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0008798/0.6057, allocations: 0.6253 MB / 0.7673 GB, free: 23.65 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003534/0.6092, allocations: 2.208 MB / 0.7694 GB, free: 23.45 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.6093, allocations: 4 kB / 0.7694 GB, free: 23.44 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.503e-06/0.6093, allocations: 0 / 0.7694 GB, free: 23.44 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.41e-05/0.6093, allocations: 0.9062 kB / 0.7694 GB, free: 23.44 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003064/0.6124, allocations: 1.487 MB / 0.7709 GB, free: 22.56 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.6124, allocations: 8.625 kB / 0.7709 GB, free: 22.56 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001891/0.6143, allocations: 391.7 kB / 0.7713 GB, free: 22.48 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002203/0.6166, allocations: 1.125 MB / 0.7724 GB, free: 22.1 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003599/0.6169, allocations: 132.1 kB / 0.7725 GB, free: 22.09 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001199/0.6171, allocations: 81.69 kB / 0.7726 GB, free: 22.09 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001975/0.619, allocations: 0.9691 MB / 0.7735 GB, free: 21.92 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.36e-05/0.6191, allocations: 3.75 kB / 0.7735 GB, free: 21.92 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.876e-05/0.6192, allocations: 33.5 kB / 0.7735 GB, free: 21.92 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.461e-05/0.6192, allocations: 21.59 kB / 0.7736 GB, free: 21.92 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002104/0.6213, allocations: 0.8485 MB / 0.7744 GB, free: 21.89 MB / 0.545 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.006529/0.6278, allocations: 4.795 MB / 0.7791 GB, free: 19.19 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001532/0.6294, allocations: 0.5985 MB / 0.7797 GB, free: 19.14 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006094/0.63, allocations: 276.2 kB / 0.7799 GB, free: 19.13 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001148/0.6312, allocations: 1.396 MB / 0.7813 GB, free: 17.62 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.6312, allocations: 39.66 kB / 0.7813 GB, free: 17.59 MB / 0.545 GB Notification: Performance of pre-optimization done (n=43): time 2.414e-06/0.6312, allocations: 0 / 0.7813 GB, free: 17.59 MB / 0.545 GB Notification: Performance of matching and sorting (n=43): time 0.008587/0.6398, allocations: 2.048 MB / 0.7833 GB, free: 17.29 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.062e-05/0.6399, allocations: 55.34 kB / 0.7834 GB, free: 17.23 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001549/0.6414, allocations: 1.057 MB / 0.7844 GB, free: 17.08 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 9.091e-05/0.6415, allocations: 35.67 kB / 0.7844 GB, free: 17.05 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003453/0.6419, allocations: 0.5224 MB / 0.785 GB, free: 16.86 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001169/0.642, allocations: 156.3 kB / 0.7851 GB, free: 16.76 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.714e-05/0.6421, allocations: 44.62 kB / 0.7852 GB, free: 16.74 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.464e-05/0.6421, allocations: 325.7 kB / 0.7855 GB, free: 16.44 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007593/0.6429, allocations: 288.8 kB / 0.7857 GB, free: 16.43 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008769/0.6438, allocations: 0.4948 MB / 0.7862 GB, free: 16.19 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00136/0.6452, allocations: 0.6658 MB / 0.7869 GB, free: 16.02 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.6452, allocations: 1.875 kB / 0.7869 GB, free: 16.02 MB / 0.545 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002564/0.6477, allocations: 0.9746 MB / 0.7878 GB, free: 15.89 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001297/0.6479, allocations: 216 kB / 0.788 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/0.6479, allocations: 4.5 kB / 0.788 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001497/0.6494, allocations: 327.7 kB / 0.7883 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000555/0.65, allocations: 116.9 kB / 0.7885 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001923/0.6519, allocations: 0.9371 MB / 0.7894 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001612/0.6535, allocations: 183.4 kB / 0.7895 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.404e-05/0.6536, allocations: 26.47 kB / 0.7896 GB, free: 15.04 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.6537, allocations: 6.625 kB / 0.7896 GB, free: 15.04 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002295/0.656, allocations: 0.8442 MB / 0.7904 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.656, allocations: 4.125 kB / 0.7904 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001129/0.6571, allocations: 324.3 kB / 0.7907 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000443/0.6576, allocations: 119.6 kB / 0.7908 GB, free: 14.98 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001364/0.6589, allocations: 0.9374 MB / 0.7917 GB, free: 14.43 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001339/0.6603, allocations: 159.4 kB / 0.7919 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.415e-05/0.6604, allocations: 28.75 kB / 0.7919 GB, free: 14.39 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0005949/0.661, allocations: 353 kB / 0.7923 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000189/0.6612, allocations: 114.9 kB / 0.7924 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003807/0.665, allocations: 1.161 MB / 0.7935 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.577e-05/0.665, allocations: 4.562 kB / 0.7935 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.665, allocations: 1.094 kB / 0.7935 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.665, allocations: 3.281 kB / 0.7935 GB, free: 14.03 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005193/0.6702, allocations: 2.156 MB / 0.7956 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.638e-06/0.6703, allocations: 7.406 kB / 0.7956 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002134/0.6705, allocations: 55.34 kB / 0.7957 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001103/0.6716, allocations: 329.2 kB / 0.796 GB, free: 13.56 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.782e-05/0.6716, allocations: 18.09 kB / 0.796 GB, free: 13.56 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001434/0.6731, allocations: 0.972 MB / 0.797 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.6731, allocations: 4.969 kB / 0.797 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003556/0.6767, allocations: 1.194 MB / 0.7981 GB, free: 12.69 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000595/0.6773, allocations: 285 kB / 0.7984 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001328/0.6774, allocations: 11.06 kB / 0.7984 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008314/0.6782, allocations: 108.9 kB / 0.7985 GB, free: 12.51 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.514e-05/0.6783, allocations: 30.86 kB / 0.7985 GB, free: 12.51 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.045e-05/0.6784, allocations: 23.89 kB / 0.7986 GB, free: 12.51 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0012/0.6796, allocations: 0.7435 MB / 0.7993 GB, free: 12.4 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6796, allocations: 0 / 0.7993 GB, free: 12.4 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001855/0.6815, allocations: 0.5673 MB / 0.7998 GB, free: 12.32 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (33): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(2,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008702/0.6824, allocations: 409.3 kB / 0.8002 GB, free: 12.16 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002727/0.6851, allocations: 1.058 MB / 0.8013 GB, free: 12.12 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.6851, allocations: 4.125 kB / 0.8013 GB, free: 12.12 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007259/0.6858, allocations: 334.4 kB / 0.8016 GB, free: 12.11 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002722/0.6886, allocations: 0.5022 MB / 0.8021 GB, free: 12.06 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003623/0.6922, allocations: 2.256 MB / 0.8043 GB, free: 10.87 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005045/0.6927, allocations: 1.058 MB / 0.8053 GB, free: 10.15 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001126/0.6939, allocations: 227.9 kB / 0.8055 GB, free: 10.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001961/0.6941, allocations: 76.73 kB / 0.8056 GB, free: 10.09 MB / 0.545 GB Notification: Performance of SimCode: time 1.433e-06/0.6941, allocations: 0 / 0.8056 GB, free: 10.09 MB / 0.545 GB Notification: Performance of Templates: time 0.03923/0.7333, allocations: 24.12 MB / 0.8292 GB, free: 10.64 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1)