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.00143/0.00143, allocations: 107.4 kB / 16.29 MB, free: 6.43 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.001383/0.001383, allocations: 184 kB / 17.22 MB, free: 5.934 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.332/1.332, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.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.742/1.742, allocations: 292.3 MB / 0.5495 GB, free: 17.51 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.001508/0.001508, allocations: 71.91 kB / 0.6722 GB, free: 6.5 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2337/0.2353, allocations: 114.6 MB / 0.7841 GB, free: 3.836 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.4127/0.6481, allocations: 61.28 MB / 0.8439 GB, free: 8.973 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01409/0.6622, allocations: 11.91 MB / 0.8556 GB, free: 476 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002308/0.6645, allocations: 58.91 kB / 0.8556 GB, free: 452 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001906/0.6665, allocations: 0.6884 MB / 0.8563 GB, free: 15.99 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005788/0.6723, allocations: 1.954 MB / 0.8582 GB, free: 14.82 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003447/0.6757, allocations: 1.227 MB / 0.8594 GB, free: 14.16 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005431/0.6812, allocations: 3.087 MB / 0.8624 GB, free: 12.64 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001972/0.6832, allocations: 1.123 MB / 0.8635 GB, free: 12.14 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003721/0.6869, allocations: 1.346 MB / 0.8648 GB, free: 11.47 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002035/0.689, allocations: 0.9107 MB / 0.8657 GB, free: 11.05 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002656/0.6893, allocations: 116.9 kB / 0.8658 GB, free: 11.05 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003725/0.693, allocations: 1.451 MB / 0.8672 GB, free: 10.55 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003673/0.6934, allocations: 295.2 kB / 0.8675 GB, free: 10.36 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001045/0.6944, allocations: 0.7072 MB / 0.8682 GB, free: 9.922 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.004658/0.6991, allocations: 2.328 MB / 0.8705 GB, free: 8.738 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.6991, allocations: 1.094 kB / 0.8705 GB, free: 8.738 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.362e-06/0.6991, allocations: 0 / 0.8705 GB, free: 8.738 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.277e-05/0.6992, allocations: 0 / 0.8705 GB, free: 8.738 MB / 0.67 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.00361/0.7028, allocations: 1.758 MB / 0.8722 GB, free: 7.387 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.7028, allocations: 9.375 kB / 0.8722 GB, free: 7.387 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002164/0.705, allocations: 416.7 kB / 0.8726 GB, free: 7.195 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00229/0.7073, allocations: 1.113 MB / 0.8737 GB, free: 6.289 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003414/0.7077, allocations: 122.6 kB / 0.8738 GB, free: 6.238 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001281/0.7078, allocations: 84.5 kB / 0.8739 GB, free: 6.211 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002186/0.71, allocations: 1.025 MB / 0.8749 GB, free: 5.535 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/0.71, allocations: 1.156 kB / 0.8749 GB, free: 5.535 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.111e-05/0.7101, allocations: 31.5 kB / 0.8749 GB, free: 5.512 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.983e-05/0.7101, allocations: 20.09 kB / 0.8749 GB, free: 5.512 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002455/0.7126, allocations: 0.9097 MB / 0.8758 GB, free: 5.066 MB / 0.67 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.00712/0.7197, allocations: 4.986 MB / 0.8807 GB, free: 0.6328 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003431/0.7232, allocations: 0.8384 MB / 0.8815 GB, free: 220 kB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008353/0.7241, allocations: 338.2 kB / 0.8818 GB, free: 56 kB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006829/0.7248, allocations: 0.9072 MB / 0.8827 GB, free: 14.99 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.785e-05/0.7248, allocations: 41.56 kB / 0.8828 GB, free: 14.94 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=48): time 2.204e-06/0.7248, allocations: 2.344 kB / 0.8828 GB, free: 14.94 MB / 0.6856 GB Notification: Performance of matching and sorting (n=48): time 0.00861/0.7334, allocations: 2.012 MB / 0.8847 GB, free: 13.92 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.7335, allocations: 57.22 kB / 0.8848 GB, free: 13.86 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001996/0.7355, allocations: 1.082 MB / 0.8858 GB, free: 13.25 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001013/0.7356, allocations: 38.52 kB / 0.8859 GB, free: 13.21 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004694/0.7361, allocations: 0.5336 MB / 0.8864 GB, free: 12.74 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001753/0.7363, allocations: 170.9 kB / 0.8866 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002825/0.7366, allocations: 147.2 kB / 0.8867 GB, free: 12.5 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.7367, allocations: 330.5 kB / 0.887 GB, free: 12.18 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009922/0.7377, allocations: 343.4 kB / 0.8873 GB, free: 12.01 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001216/0.7389, allocations: 0.5572 MB / 0.8879 GB, free: 11.56 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001911/0.7409, allocations: 0.7678 MB / 0.8886 GB, free: 11.06 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/0.7409, allocations: 1.094 kB / 0.8886 GB, free: 11.06 MB / 0.6856 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.004007/0.7449, allocations: 1.242 MB / 0.8898 GB, free: 10.45 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.7449, allocations: 7.094 kB / 0.8899 GB, free: 10.45 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/0.7449, allocations: 5.062 kB / 0.8899 GB, free: 10.45 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001267/0.7462, allocations: 322.7 kB / 0.8902 GB, free: 10.29 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000635/0.7469, allocations: 145.6 kB / 0.8903 GB, free: 10.25 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001538/0.7484, allocations: 0.9147 MB / 0.8912 GB, free: 9.527 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001439/0.7499, allocations: 160.4 kB / 0.8914 GB, free: 9.441 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001366/0.75, allocations: 36.28 kB / 0.8914 GB, free: 9.43 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001467/0.7515, allocations: 0.547 MB / 0.8919 GB, free: 9.105 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001263/0.7528, allocations: 0.5503 MB / 0.8925 GB, free: 8.664 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001956/0.7548, allocations: 0.7641 MB / 0.8932 GB, free: 8.16 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.092e-06/0.7548, allocations: 1.438 kB / 0.8932 GB, free: 8.16 MB / 0.6856 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.004011/0.7588, allocations: 1.226 MB / 0.8944 GB, free: 7.551 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.7588, allocations: 7.156 kB / 0.8944 GB, free: 7.551 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.7588, allocations: 5.406 kB / 0.8944 GB, free: 7.551 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001148/0.76, allocations: 304 kB / 0.8947 GB, free: 7.41 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006606/0.7607, allocations: 141.5 kB / 0.8948 GB, free: 7.371 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00159/0.7623, allocations: 0.9125 MB / 0.8957 GB, free: 6.645 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001644/0.7639, allocations: 146.9 kB / 0.8959 GB, free: 6.57 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001091/0.7641, allocations: 32.08 kB / 0.8959 GB, free: 6.562 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (62): * Single equations (assignments): 61 * 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.0002825/0.7643, allocations: 221.1 kB / 0.8961 GB, free: 6.352 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003937/0.7647, allocations: 113.2 kB / 0.8962 GB, free: 6.293 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004153/0.7689, allocations: 1.205 MB / 0.8974 GB, free: 5.645 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.058e-05/0.7689, allocations: 8.828 kB / 0.8974 GB, free: 5.641 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/0.769, allocations: 8.297 kB / 0.8974 GB, free: 5.637 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.769, allocations: 0 / 0.8974 GB, free: 5.637 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006142/0.7751, allocations: 2.291 MB / 0.8997 GB, free: 3.316 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/0.7752, allocations: 4.031 kB / 0.8997 GB, free: 3.312 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003564/0.7755, allocations: 79.88 kB / 0.8997 GB, free: 3.234 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009978/0.7765, allocations: 299 kB / 0.9 GB, free: 2.941 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.394e-05/0.7766, allocations: 19.92 kB / 0.9 GB, free: 2.922 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001421/0.778, allocations: 0.9386 MB / 0.901 GB, free: 1.957 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.875e-06/0.7781, allocations: 9.297 kB / 0.901 GB, free: 1.949 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003712/0.7818, allocations: 1.248 MB / 0.9022 GB, free: 0.6523 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006217/0.7824, allocations: 267.5 kB / 0.9024 GB, free: 380 kB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002726/0.7827, allocations: 19.94 kB / 0.9025 GB, free: 360 kB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009663/0.7837, allocations: 83.83 kB / 0.9025 GB, free: 276 kB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.7838, allocations: 43.33 kB / 0.9026 GB, free: 236 kB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.403e-05/0.7839, allocations: 23.98 kB / 0.9026 GB, free: 212 kB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001327/0.7852, allocations: 0.7555 MB / 0.9033 GB, free: 15.44 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.41e-07/0.7852, allocations: 0 / 0.9033 GB, free: 15.44 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001877/0.7871, allocations: 0.5771 MB / 0.9039 GB, free: 14.86 MB / 0.7012 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.0008909/0.788, allocations: 384.4 kB / 0.9043 GB, free: 14.49 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.00355/0.7916, allocations: 1.241 MB / 0.9055 GB, free: 13.26 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.7916, allocations: 0 / 0.9055 GB, free: 13.26 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001008/0.7926, allocations: 398.7 kB / 0.9059 GB, free: 12.87 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002446/0.7951, allocations: 0.5383 MB / 0.9064 GB, free: 12.38 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005212/0.8003, allocations: 2.055 MB / 0.9084 GB, free: 10.26 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006636/0.801, allocations: 1.07 MB / 0.9094 GB, free: 9.16 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0009835/0.802, allocations: 242.8 kB / 0.9097 GB, free: 8.938 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002426/0.8022, allocations: 83.42 kB / 0.9097 GB, free: 8.855 MB / 0.7012 GB Notification: Performance of SimCode: time 5.71e-07/0.8022, allocations: 0 / 0.9097 GB, free: 8.855 MB / 0.7012 GB Notification: Performance of Templates: time 0.04409/0.8463, allocations: 25.91 MB / 0.9351 GB, free: 15.36 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.makefile (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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe 2>&1)