Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.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_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009414/0.0009414, allocations: 97.64 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.007223/0.007224, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.464/1.464, allocations: 205.4 MB / 222.4 MB, free: 5.551 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.71/1.71, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0006884/0.0006886, allocations: 13.62 kB / 0.6743 GB, free: 25.8 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2153/0.216, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.05596/0.272, allocations: 59.83 MB / 0.8463 GB, free: 15.55 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01835/0.2904, allocations: 11.85 MB / 0.8579 GB, free: 3.672 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002424/0.2929, allocations: 51.62 kB / 0.8579 GB, free: 3.621 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002138/0.2951, allocations: 0.5477 MB / 0.8585 GB, free: 3.07 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005938/0.301, allocations: 1.793 MB / 0.8602 GB, free: 1.27 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003596/0.3046, allocations: 1.096 MB / 0.8613 GB, free: 192 kB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005583/0.3102, allocations: 3.913 MB / 0.8651 GB, free: 12.26 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001686/0.312, allocations: 0.9031 MB / 0.866 GB, free: 11.33 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002787/0.3148, allocations: 1.139 MB / 0.8671 GB, free: 10.18 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001602/0.3164, allocations: 0.8748 MB / 0.868 GB, free: 9.305 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001731/0.3166, allocations: 44 kB / 0.868 GB, free: 9.262 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002673/0.3193, allocations: 1.318 MB / 0.8693 GB, free: 7.941 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.000273/0.3196, allocations: 226.9 kB / 0.8695 GB, free: 7.719 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0008467/0.3204, allocations: 0.6388 MB / 0.8701 GB, free: 7.07 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003481/0.3239, allocations: 2.212 MB / 0.8723 GB, free: 4.852 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.361e-06/0.3239, allocations: 4 kB / 0.8723 GB, free: 4.848 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3239, allocations: 0 / 0.8723 GB, free: 4.848 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.74e-05/0.324, allocations: 4 kB / 0.8723 GB, free: 4.844 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.003197/0.3272, allocations: 1.516 MB / 0.8738 GB, free: 3.27 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.3272, allocations: 8.031 kB / 0.8738 GB, free: 3.262 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002245/0.3295, allocations: 478.8 kB / 0.8742 GB, free: 2.793 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002233/0.3317, allocations: 1.14 MB / 0.8753 GB, free: 1.594 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004298/0.3322, allocations: 129.9 kB / 0.8755 GB, free: 1.469 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001328/0.3323, allocations: 84 kB / 0.8755 GB, free: 1.387 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002374/0.3347, allocations: 1.031 MB / 0.8766 GB, free: 324 kB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.3347, allocations: 0 / 0.8766 GB, free: 324 kB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.879e-05/0.3348, allocations: 35.94 kB / 0.8766 GB, free: 288 kB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/0.3349, allocations: 20 kB / 0.8766 GB, free: 268 kB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002716/0.3376, allocations: 0.9758 MB / 0.8776 GB, free: 15.29 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.007287/0.3449, allocations: 4.65 MB / 0.8821 GB, free: 10.32 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003839/0.3487, allocations: 0.954 MB / 0.883 GB, free: 9.363 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000954/0.3497, allocations: 368.9 kB / 0.8834 GB, free: 9.004 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001202/0.3509, allocations: 0.9068 MB / 0.8843 GB, free: 7.895 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.892e-05/0.3511, allocations: 43 kB / 0.8843 GB, free: 7.844 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=48): time 3.296e-06/0.3511, allocations: 0 / 0.8843 GB, free: 7.844 MB / 0.7012 GB Notification: Performance of matching and sorting (n=48): time 0.009803/0.3609, allocations: 2.263 MB / 0.8865 GB, free: 5.547 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/0.361, allocations: 59.83 kB / 0.8866 GB, free: 5.477 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002103/0.3631, allocations: 1.064 MB / 0.8876 GB, free: 4.398 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001292/0.3632, allocations: 37.7 kB / 0.8877 GB, free: 4.355 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005385/0.3638, allocations: 0.5314 MB / 0.8882 GB, free: 3.82 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002085/0.364, allocations: 165.6 kB / 0.8883 GB, free: 3.656 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001204/0.3641, allocations: 49.69 kB / 0.8884 GB, free: 3.602 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0002273/0.3644, allocations: 326 kB / 0.8887 GB, free: 3.277 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001203/0.3656, allocations: 364.9 kB / 0.889 GB, free: 2.922 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001319/0.3669, allocations: 0.5602 MB / 0.8896 GB, free: 2.281 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002096/0.369, allocations: 0.78 MB / 0.8903 GB, free: 1.449 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/0.369, allocations: 4 kB / 0.8904 GB, free: 1.445 MB / 0.7012 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.004324/0.3734, allocations: 1.276 MB / 0.8916 GB, free: 164 kB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001631/0.3736, allocations: 201.3 kB / 0.8918 GB, free: 15.91 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/0.3736, allocations: 7.984 kB / 0.8918 GB, free: 15.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001308/0.3749, allocations: 336.5 kB / 0.8921 GB, free: 15.57 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006143/0.3755, allocations: 147.8 kB / 0.8923 GB, free: 15.43 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001598/0.3771, allocations: 0.9347 MB / 0.8932 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001442/0.3786, allocations: 207.8 kB / 0.8934 GB, free: 14.26 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.651e-05/0.3787, allocations: 31.98 kB / 0.8934 GB, free: 14.23 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.108e-06/0.3787, allocations: 7.922 kB / 0.8934 GB, free: 14.22 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003711/0.3824, allocations: 1.139 MB / 0.8945 GB, free: 13.08 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.3825, allocations: 4 kB / 0.8945 GB, free: 13.07 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001134/0.3836, allocations: 327.9 kB / 0.8948 GB, free: 12.75 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005997/0.3842, allocations: 135.8 kB / 0.895 GB, free: 12.62 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001523/0.3858, allocations: 0.9464 MB / 0.8959 GB, free: 11.65 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001341/0.3871, allocations: 175.3 kB / 0.8961 GB, free: 11.48 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.162e-05/0.3872, allocations: 31.98 kB / 0.8961 GB, free: 11.45 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (56): * Single equations (assignments): 55 * 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.0005615/0.3878, allocations: 359.4 kB / 0.8964 GB, free: 11.09 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002579/0.388, allocations: 110.6 kB / 0.8965 GB, free: 10.98 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004371/0.3924, allocations: 1.315 MB / 0.8978 GB, free: 9.645 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.461e-05/0.3924, allocations: 4 kB / 0.8978 GB, free: 9.641 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.3925, allocations: 0 / 0.8978 GB, free: 9.641 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/0.3925, allocations: 7.984 kB / 0.8978 GB, free: 9.633 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006079/0.3986, allocations: 2.386 MB / 0.9002 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.155e-05/0.3986, allocations: 0 / 0.9002 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003801/0.399, allocations: 87.88 kB / 0.9002 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001071/0.4001, allocations: 332.8 kB / 0.9006 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.4e-05/0.4001, allocations: 16 kB / 0.9006 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00168/0.4018, allocations: 0.9738 MB / 0.9015 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.4018, allocations: 4 kB / 0.9015 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004278/0.4061, allocations: 1.353 MB / 0.9029 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006673/0.4068, allocations: 291.4 kB / 0.9031 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002607/0.4071, allocations: 11.94 kB / 0.9031 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001196/0.4083, allocations: 119.9 kB / 0.9033 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.4084, allocations: 51.27 kB / 0.9033 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.726e-05/0.4085, allocations: 23.98 kB / 0.9033 GB, free: 3.82 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001536/0.41, allocations: 0.7471 MB / 0.9041 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of sort global known variables: time 3.21e-07/0.4101, allocations: 0 / 0.9041 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001745/0.4118, allocations: 0.5769 MB / 0.9046 GB, free: 2.488 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 (38): * Single equations (assignments): 33 * 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 {(1,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008181/0.4126, allocations: 376 kB / 0.905 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003767/0.4164, allocations: 1.284 MB / 0.9062 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/0.4165, allocations: 4.25 kB / 0.9062 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001158/0.4176, allocations: 422.5 kB / 0.9066 GB, free: 436 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003742/0.4214, allocations: 0.523 MB / 0.9072 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006715/0.4281, allocations: 2.585 MB / 0.9097 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008006/0.429, allocations: 1.074 MB / 0.9107 GB, free: 12.16 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001303/0.4303, allocations: 234.3 kB / 0.9109 GB, free: 11.93 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003527/0.4307, allocations: 83.41 kB / 0.911 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of SimCode: time 1.012e-06/0.4307, allocations: 0 / 0.911 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of Templates: time 0.4351/0.8658, allocations: 24.75 MB / 0.9352 GB, free: 130.1 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe 2>&1) Environment - environmentSimulation: