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.0009137/0.0009137, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006998/0.006998, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.42/1.42, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.732/1.732, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.0005692/0.0005695, allocations: 18.91 kB / 0.6743 GB, free: 25.84 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2182/0.2187, allocations: 116.3 MB / 0.7879 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.0514/0.2702, allocations: 59.79 MB / 0.8463 GB, free: 15.57 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01423/0.2844, allocations: 11.83 MB / 0.8578 GB, free: 3.711 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001646/0.2861, allocations: 51.62 kB / 0.8579 GB, free: 3.66 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001579/0.2877, allocations: 0.5555 MB / 0.8584 GB, free: 3.102 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.004821/0.2925, allocations: 1.777 MB / 0.8601 GB, free: 1.316 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002696/0.2952, allocations: 1.109 MB / 0.8612 GB, free: 224 kB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003949/0.2992, allocations: 3.889 MB / 0.865 GB, free: 12.32 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001195/0.3004, allocations: 0.8941 MB / 0.8659 GB, free: 11.39 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002004/0.3024, allocations: 1.135 MB / 0.867 GB, free: 10.25 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001062/0.3035, allocations: 0.8593 MB / 0.8678 GB, free: 9.391 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001125/0.3036, allocations: 44 kB / 0.8679 GB, free: 9.348 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002365/0.306, allocations: 1.349 MB / 0.8692 GB, free: 7.996 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002079/0.3062, allocations: 218.9 kB / 0.8694 GB, free: 7.781 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0005975/0.3068, allocations: 0.6311 MB / 0.87 GB, free: 7.141 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002443/0.3093, allocations: 2.22 MB / 0.8722 GB, free: 4.914 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3093, allocations: 4 kB / 0.8722 GB, free: 4.91 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3093, allocations: 0 / 0.8722 GB, free: 4.91 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.058e-05/0.3093, allocations: 0 / 0.8722 GB, free: 4.91 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.002606/0.3119, allocations: 1.493 MB / 0.8737 GB, free: 3.359 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.312, allocations: 8.031 kB / 0.8737 GB, free: 3.352 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001691/0.3137, allocations: 387 kB / 0.874 GB, free: 2.973 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001958/0.3156, allocations: 1.139 MB / 0.8752 GB, free: 1.773 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003608/0.316, allocations: 129.9 kB / 0.8753 GB, free: 1.648 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001265/0.3162, allocations: 80 kB / 0.8754 GB, free: 1.57 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001876/0.318, allocations: 0.9683 MB / 0.8763 GB, free: 0.5625 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.3181, allocations: 0 / 0.8763 GB, free: 0.5625 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.779e-05/0.3182, allocations: 32 kB / 0.8763 GB, free: 0.5312 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.602e-05/0.3182, allocations: 20 kB / 0.8763 GB, free: 0.5117 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002166/0.3203, allocations: 0.8704 MB / 0.8772 GB, free: 15.64 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.006526/0.3269, allocations: 4.528 MB / 0.8816 GB, free: 10.8 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001677/0.3286, allocations: 0.6339 MB / 0.8822 GB, free: 10.16 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006576/0.3293, allocations: 302 kB / 0.8825 GB, free: 9.863 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001385/0.3307, allocations: 1.389 MB / 0.8839 GB, free: 8.18 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/0.3307, allocations: 46.94 kB / 0.8839 GB, free: 8.125 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=47): time 2.345e-06/0.3307, allocations: 0 / 0.8839 GB, free: 8.125 MB / 0.7012 GB Notification: Performance of matching and sorting (n=47): time 0.00787/0.3386, allocations: 1.916 MB / 0.8858 GB, free: 6.18 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.576e-05/0.3387, allocations: 59.78 kB / 0.8859 GB, free: 6.109 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00155/0.3402, allocations: 1.063 MB / 0.8869 GB, free: 5.031 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 9.405e-05/0.3403, allocations: 37.7 kB / 0.8869 GB, free: 4.988 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003842/0.3407, allocations: 0.5158 MB / 0.8874 GB, free: 4.469 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001384/0.3409, allocations: 165.6 kB / 0.8876 GB, free: 4.305 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.698e-05/0.3409, allocations: 57.56 kB / 0.8876 GB, free: 4.242 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.3411, allocations: 330 kB / 0.888 GB, free: 3.914 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008041/0.3419, allocations: 296.9 kB / 0.8882 GB, free: 3.621 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009559/0.3428, allocations: 0.4962 MB / 0.8887 GB, free: 3.043 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001484/0.3443, allocations: 0.6738 MB / 0.8894 GB, free: 2.32 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.3443, allocations: 0 / 0.8894 GB, free: 2.32 MB / 0.7012 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002505/0.3469, allocations: 1.003 MB / 0.8904 GB, free: 1.309 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001133/0.347, allocations: 192.4 kB / 0.8905 GB, free: 1.07 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.347, allocations: 4 kB / 0.8906 GB, free: 1.066 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001281/0.3483, allocations: 336.5 kB / 0.8909 GB, free: 0.7344 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00048/0.3488, allocations: 127.8 kB / 0.891 GB, free: 0.6094 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001471/0.3503, allocations: 0.9418 MB / 0.8919 GB, free: 15.64 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001271/0.3516, allocations: 183.2 kB / 0.8921 GB, free: 15.46 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.333e-05/0.3516, allocations: 27.98 kB / 0.8921 GB, free: 15.44 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.649e-06/0.3517, allocations: 4 kB / 0.8921 GB, free: 15.43 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002238/0.3539, allocations: 0.8661 MB / 0.893 GB, free: 14.56 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.3539, allocations: 8.031 kB / 0.893 GB, free: 14.55 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00112/0.355, allocations: 320.6 kB / 0.8933 GB, free: 14.24 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004775/0.3555, allocations: 123.8 kB / 0.8934 GB, free: 14.12 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001471/0.357, allocations: 0.9386 MB / 0.8943 GB, free: 13.15 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001245/0.3583, allocations: 158.2 kB / 0.8945 GB, free: 13 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.3e-05/0.3584, allocations: 35.98 kB / 0.8945 GB, free: 12.96 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (55): * Single equations (assignments): 54 * 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.0005526/0.3589, allocations: 349 kB / 0.8948 GB, free: 12.61 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001588/0.3591, allocations: 110.6 kB / 0.8949 GB, free: 12.5 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003803/0.3629, allocations: 1.201 MB / 0.8961 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.451e-05/0.3629, allocations: 7.938 kB / 0.8961 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.385e-06/0.3629, allocations: 3.984 kB / 0.8961 GB, free: 11.28 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.363, allocations: 4 kB / 0.8961 GB, free: 11.28 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005077/0.368, allocations: 2.227 MB / 0.8983 GB, free: 8.965 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.347e-06/0.3681, allocations: 4 kB / 0.8983 GB, free: 8.961 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002482/0.3683, allocations: 63.91 kB / 0.8984 GB, free: 8.898 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001063/0.3694, allocations: 328.8 kB / 0.8987 GB, free: 8.574 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.802e-05/0.3694, allocations: 11.98 kB / 0.8987 GB, free: 8.562 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001486/0.3709, allocations: 0.9757 MB / 0.8996 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.646e-06/0.3709, allocations: 7.938 kB / 0.8997 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003578/0.3745, allocations: 1.25 MB / 0.9009 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005444/0.3751, allocations: 283.4 kB / 0.9011 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001244/0.3752, allocations: 8 kB / 0.9012 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008455/0.3761, allocations: 103.8 kB / 0.9012 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.539e-05/0.3762, allocations: 39.88 kB / 0.9013 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.158e-05/0.3762, allocations: 23.98 kB / 0.9013 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001133/0.3774, allocations: 0.7469 MB / 0.902 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.4e-07/0.3774, allocations: 0 / 0.902 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00148/0.3789, allocations: 0.5692 MB / 0.9026 GB, free: 4.465 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.0008155/0.3797, allocations: 391.3 kB / 0.903 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00296/0.3827, allocations: 1.104 MB / 0.904 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.3827, allocations: 0 / 0.904 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0008406/0.3836, allocations: 370 kB / 0.9044 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00313/0.3867, allocations: 0.5215 MB / 0.9049 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003713/0.3904, allocations: 2.265 MB / 0.9071 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005638/0.391, allocations: 1.07 MB / 0.9082 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001004/0.3921, allocations: 226.8 kB / 0.9084 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001833/0.3922, allocations: 83.42 kB / 0.9085 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of SimCode: time 8.32e-07/0.3923, allocations: 0 / 0.9085 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of Templates: time 0.414/0.8063, allocations: 24.73 MB / 0.9326 GB, free: 128.1 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: