Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001466/0.001466, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001738/0.001737, allocations: 193.1 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.458/1.458, allocations: 205.1 MB / 222.4 MB, free: 4.586 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.835/1.835, allocations: 292.3 MB / 0.5488 GB, free: 12.86 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 70.14 kB / 0.6715 GB, free: 26.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2211/0.2226, allocations: 114.5 MB / 0.7834 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.05885/0.2815, allocations: 61.25 MB / 0.8432 GB, free: 52 kB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01761/0.2991, allocations: 11.91 MB / 0.8548 GB, free: 4.109 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003052/0.3022, allocations: 59.62 kB / 0.8549 GB, free: 4.051 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002314/0.3046, allocations: 0.6752 MB / 0.8555 GB, free: 3.371 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006269/0.3109, allocations: 1.947 MB / 0.8574 GB, free: 1.414 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003672/0.3146, allocations: 1.213 MB / 0.8586 GB, free: 216 kB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004602/0.3192, allocations: 3.075 MB / 0.8616 GB, free: 13.13 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001862/0.3211, allocations: 1.1 MB / 0.8627 GB, free: 12 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003657/0.3248, allocations: 1.357 MB / 0.864 GB, free: 10.64 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001403/0.3262, allocations: 0.9023 MB / 0.8649 GB, free: 9.734 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001868/0.3264, allocations: 116 kB / 0.865 GB, free: 9.621 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003371/0.3298, allocations: 1.462 MB / 0.8664 GB, free: 8.156 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003104/0.3301, allocations: 294.9 kB / 0.8667 GB, free: 7.867 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0008422/0.331, allocations: 0.6997 MB / 0.8674 GB, free: 7.164 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003407/0.3344, allocations: 2.302 MB / 0.8696 GB, free: 4.855 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3344, allocations: 0 / 0.8696 GB, free: 4.855 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.515e-06/0.3344, allocations: 0 / 0.8696 GB, free: 4.855 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.026e-05/0.3345, allocations: 0 / 0.8696 GB, free: 4.855 MB / 0.6856 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.003114/0.3376, allocations: 1.742 MB / 0.8713 GB, free: 3.051 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.3376, allocations: 16.03 kB / 0.8714 GB, free: 3.035 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001665/0.3393, allocations: 339 kB / 0.8717 GB, free: 2.703 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001953/0.3413, allocations: 1.108 MB / 0.8728 GB, free: 1.539 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003392/0.3416, allocations: 121.9 kB / 0.8729 GB, free: 1.418 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/0.3417, allocations: 80 kB / 0.8729 GB, free: 1.34 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001804/0.3435, allocations: 0.9725 MB / 0.8739 GB, free: 324 kB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.3436, allocations: 4 kB / 0.8739 GB, free: 320 kB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.694e-05/0.3437, allocations: 32 kB / 0.8739 GB, free: 288 kB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.508e-05/0.3437, allocations: 16 kB / 0.8739 GB, free: 272 kB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002106/0.3458, allocations: 0.8275 MB / 0.8748 GB, free: 15.43 MB / 0.7012 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.00631/0.3521, allocations: 4.904 MB / 0.8795 GB, free: 10.21 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001648/0.3538, allocations: 0.6171 MB / 0.8801 GB, free: 9.586 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006419/0.3544, allocations: 282 kB / 0.8804 GB, free: 9.305 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001396/0.3558, allocations: 1.373 MB / 0.8818 GB, free: 7.637 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.3559, allocations: 38.94 kB / 0.8818 GB, free: 7.59 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=47): time 2.835e-06/0.3559, allocations: 0 / 0.8818 GB, free: 7.59 MB / 0.7012 GB Notification: Performance of matching and sorting (n=47): time 0.007755/0.3637, allocations: 1.709 MB / 0.8835 GB, free: 5.852 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.038e-05/0.3637, allocations: 59.84 kB / 0.8835 GB, free: 5.781 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001588/0.3653, allocations: 1.084 MB / 0.8846 GB, free: 4.684 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 9.051e-05/0.3654, allocations: 33.7 kB / 0.8846 GB, free: 4.645 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004094/0.3658, allocations: 0.5312 MB / 0.8851 GB, free: 4.109 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.000134/0.366, allocations: 173.5 kB / 0.8853 GB, free: 3.938 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002227/0.3662, allocations: 138.2 kB / 0.8854 GB, free: 3.797 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.3663, allocations: 330 kB / 0.8857 GB, free: 3.469 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000847/0.3672, allocations: 295.3 kB / 0.886 GB, free: 3.176 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009746/0.3682, allocations: 0.5007 MB / 0.8865 GB, free: 2.578 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001473/0.3697, allocations: 0.6908 MB / 0.8872 GB, free: 1.828 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.309e-06/0.3697, allocations: 0 / 0.8872 GB, free: 1.828 MB / 0.7012 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.003498/0.3732, allocations: 1.146 MB / 0.8883 GB, free: 0.668 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.3732, allocations: 8 kB / 0.8883 GB, free: 0.6602 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/0.3732, allocations: 4 kB / 0.8883 GB, free: 0.6562 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001219/0.3744, allocations: 327.3 kB / 0.8886 GB, free: 344 kB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005111/0.375, allocations: 127.9 kB / 0.8888 GB, free: 216 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001493/0.3765, allocations: 0.9075 MB / 0.8896 GB, free: 15.28 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/0.3778, allocations: 151.2 kB / 0.8898 GB, free: 15.13 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.721e-05/0.3779, allocations: 31.98 kB / 0.8898 GB, free: 15.1 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001189/0.3791, allocations: 0.5018 MB / 0.8903 GB, free: 14.59 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009523/0.3801, allocations: 0.5045 MB / 0.8908 GB, free: 14 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00143/0.3815, allocations: 0.6751 MB / 0.8915 GB, free: 13.26 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.899e-06/0.3815, allocations: 4 kB / 0.8915 GB, free: 13.26 MB / 0.7169 GB Notification: Performance of matching and sorting (n=75) (initialization_lambda0): time 0.003493/0.385, allocations: 1.123 MB / 0.8926 GB, free: 12.12 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.385, allocations: 11.98 kB / 0.8926 GB, free: 12.11 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.385, allocations: 4 kB / 0.8926 GB, free: 12.11 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001066/0.3861, allocations: 300.6 kB / 0.8929 GB, free: 11.81 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004835/0.3866, allocations: 127.8 kB / 0.893 GB, free: 11.68 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001409/0.388, allocations: 0.9107 MB / 0.8939 GB, free: 10.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001195/0.3892, allocations: 139.5 kB / 0.894 GB, free: 10.61 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-05/0.3893, allocations: 31.98 kB / 0.894 GB, free: 10.58 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (61): * Single equations (assignments): 60 * 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.0002314/0.3896, allocations: 220.1 kB / 0.8942 GB, free: 10.36 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000234/0.3898, allocations: 118.5 kB / 0.8944 GB, free: 10.24 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003822/0.3936, allocations: 1.115 MB / 0.8954 GB, free: 9.105 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-05/0.3937, allocations: 8 kB / 0.8955 GB, free: 9.098 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.3937, allocations: 3.938 kB / 0.8955 GB, free: 9.094 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.3937, allocations: 3.984 kB / 0.8955 GB, free: 9.09 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005018/0.3987, allocations: 2.118 MB / 0.8975 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.326e-06/0.3987, allocations: 4 kB / 0.8975 GB, free: 6.887 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002568/0.399, allocations: 63.89 kB / 0.8976 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001039/0.4, allocations: 319.6 kB / 0.8979 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.195e-05/0.4001, allocations: 19.98 kB / 0.8979 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001532/0.4016, allocations: 0.9387 MB / 0.8988 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.795e-06/0.4017, allocations: 7.938 kB / 0.8988 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003853/0.4055, allocations: 1.161 MB / 0.9 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006635/0.4062, allocations: 259.5 kB / 0.9002 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000187/0.4064, allocations: 20 kB / 0.9002 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008012/0.4072, allocations: 67.92 kB / 0.9003 GB, free: 3.949 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.4073, allocations: 39.88 kB / 0.9003 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.349e-05/0.4074, allocations: 23.98 kB / 0.9004 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001435/0.4088, allocations: 0.759 MB / 0.9011 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4088, allocations: 0 / 0.9011 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001798/0.4106, allocations: 0.5809 MB / 0.9017 GB, free: 2.539 MB / 0.7169 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 (37): * Single equations (assignments): 32 * 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.0009334/0.4116, allocations: 400 kB / 0.9021 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003368/0.415, allocations: 1.125 MB / 0.9032 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 9.868e-06/0.415, allocations: 0 / 0.9032 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009038/0.4159, allocations: 342 kB / 0.9035 GB, free: 0.6914 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002754/0.4187, allocations: 0.5325 MB / 0.904 GB, free: 180 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003749/0.4224, allocations: 1.847 MB / 0.9058 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006614/0.4231, allocations: 1.062 MB / 0.9068 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001008/0.4241, allocations: 246.8 kB / 0.9071 GB, free: 12.94 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001712/0.4243, allocations: 83.41 kB / 0.9072 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of SimCode: time 7.82e-07/0.4243, allocations: 0 / 0.9072 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of Templates: time 0.403/0.8273, allocations: 25.82 MB / 0.9324 GB, free: 131.8 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1)