Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.353/1.353, allocations: 252 MB / 267.6 MB, free: 10.95 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001074/0.001074, allocations: 171.7 kB / 327.3 MB, free: 2.195 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.792/1.792, allocations: 205.4 MB / 0.5783 GB, free: 20.52 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007248/0.0007246, allocations: 87.97 kB / 0.6829 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003827/0.0003828, allocations: 10.81 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2271/0.2275, allocations: 106.3 MB / 0.9008 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.03729/0.2649, allocations: 56.55 MB / 0.956 GB, free: 7.562 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01318/0.2781, allocations: 11.09 MB / 0.9669 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002086/0.2802, allocations: 55.62 kB / 0.9669 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001553/0.2818, allocations: 468.8 kB / 0.9674 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.004769/0.2866, allocations: 1.523 MB / 0.9689 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00263/0.2892, allocations: 0.8783 MB / 0.9697 GB, free: 9.531 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.004275/0.2935, allocations: 3.38 MB / 0.973 GB, free: 6.137 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001358/0.2949, allocations: 0.8027 MB / 0.9738 GB, free: 5.309 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002199/0.2971, allocations: 1.03 MB / 0.9748 GB, free: 4.273 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0012/0.2983, allocations: 0.8283 MB / 0.9756 GB, free: 3.441 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001184/0.2984, allocations: 44 kB / 0.9757 GB, free: 3.398 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002385/0.3008, allocations: 1.084 MB / 0.9767 GB, free: 2.312 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002322/0.301, allocations: 199 kB / 0.9769 GB, free: 2.117 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000403/0.3015, allocations: 289 kB / 0.9772 GB, free: 1.828 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002049/0.3035, allocations: 1.633 MB / 0.9788 GB, free: 196 kB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3035, allocations: 0 / 0.9788 GB, free: 196 kB / 0.6198 GB Notification: Performance of FrontEnd: time 2.033e-06/0.3035, allocations: 0 / 0.9788 GB, free: 196 kB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.804e-05/0.3036, allocations: 0 / 0.9788 GB, free: 196 kB / 0.6198 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.002883/0.3064, allocations: 1.508 MB / 0.9803 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.3065, allocations: 12.03 kB / 0.9803 GB, free: 14.61 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002503/0.309, allocations: 0.5174 MB / 0.9808 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002239/0.3113, allocations: 1.099 MB / 0.9818 GB, free: 12.94 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003687/0.3117, allocations: 129.9 kB / 0.982 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001287/0.3118, allocations: 88 kB / 0.982 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002262/0.3141, allocations: 1.029 MB / 0.9831 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.3141, allocations: 0 / 0.9831 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.702e-05/0.3142, allocations: 32 kB / 0.9831 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.918e-05/0.3142, allocations: 20 kB / 0.9831 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002593/0.3168, allocations: 1.011 MB / 0.9841 GB, free: 10.6 MB / 0.6355 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.00652/0.3233, allocations: 4.7 MB / 0.9887 GB, free: 5.551 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004084/0.3274, allocations: 1.123 MB / 0.9898 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001076/0.3285, allocations: 445.9 kB / 0.9902 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001073/0.3296, allocations: 1.029 MB / 0.9912 GB, free: 2.734 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.76e-05/0.3297, allocations: 47 kB / 0.9913 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=53): time 3.397e-06/0.3297, allocations: 0 / 0.9913 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of matching and sorting (n=53): time 0.009671/0.3394, allocations: 2.498 MB / 0.9937 GB, free: 156 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.3394, allocations: 55.84 kB / 0.9937 GB, free: 88 kB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001468/0.3409, allocations: 0.9277 MB / 0.9947 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.433e-05/0.341, allocations: 37.7 kB / 0.9947 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000463/0.3415, allocations: 0.5157 MB / 0.9952 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001766/0.3417, allocations: 181.3 kB / 0.9954 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-05/0.3417, allocations: 12 kB / 0.9954 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.3419, allocations: 325.9 kB / 0.9957 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001048/0.3429, allocations: 380.9 kB / 0.996 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001158/0.3441, allocations: 0.5317 MB / 0.9966 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00106/0.3452, allocations: 393.9 kB / 0.9969 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.3452, allocations: 4 kB / 0.9969 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.003989/0.3492, allocations: 1.279 MB / 0.9982 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001201/0.3493, allocations: 180.3 kB / 0.9984 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.3493, allocations: 0 / 0.9984 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001258/0.3506, allocations: 320.5 kB / 0.9987 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006495/0.3513, allocations: 139.8 kB / 0.9988 GB, free: 10.75 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001546/0.3528, allocations: 0.9366 MB / 0.9997 GB, free: 9.789 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001291/0.3541, allocations: 171.3 kB / 0.9999 GB, free: 9.621 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.052e-05/0.3542, allocations: 31.94 kB / 0.9999 GB, free: 9.59 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.3542, allocations: 7.938 kB / 0.9999 GB, free: 9.582 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003589/0.3578, allocations: 1.161 MB / 1.001 GB, free: 8.414 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.3579, allocations: 4.312 kB / 1.001 GB, free: 8.41 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001102/0.359, allocations: 324.5 kB / 1.001 GB, free: 8.09 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000633/0.3596, allocations: 139.8 kB / 1.002 GB, free: 7.953 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001446/0.3611, allocations: 0.9374 MB / 1.002 GB, free: 6.992 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00124/0.3623, allocations: 163.4 kB / 1.003 GB, free: 6.832 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.42e-05/0.3624, allocations: 27.98 kB / 1.003 GB, free: 6.805 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (54): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0005649/0.363, allocations: 357 kB / 1.003 GB, free: 6.445 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001716/0.3631, allocations: 114.5 kB / 1.003 GB, free: 6.332 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004823/0.368, allocations: 1.433 MB / 1.004 GB, free: 4.895 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-05/0.368, allocations: 11.98 kB / 1.004 GB, free: 4.883 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.368, allocations: 0 / 1.004 GB, free: 4.883 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.3681, allocations: 3.953 kB / 1.004 GB, free: 4.879 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005958/0.374, allocations: 2.518 MB / 1.007 GB, free: 2.281 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/0.3741, allocations: 4 kB / 1.007 GB, free: 2.277 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005463/0.3746, allocations: 116 kB / 1.007 GB, free: 2.164 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001019/0.3756, allocations: 327.2 kB / 1.007 GB, free: 1.844 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.915e-05/0.3757, allocations: 23.98 kB / 1.007 GB, free: 1.82 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001531/0.3772, allocations: 0.9619 MB / 1.008 GB, free: 0.832 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.3773, allocations: 4.031 kB / 1.008 GB, free: 0.8281 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004432/0.3817, allocations: 1.456 MB / 1.01 GB, free: 15.34 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006393/0.3823, allocations: 291.5 kB / 1.01 GB, free: 15.03 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002383/0.3826, allocations: 12 kB / 1.01 GB, free: 15.02 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001087/0.3837, allocations: 131.7 kB / 1.01 GB, free: 14.89 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.144e-05/0.3838, allocations: 40.38 kB / 1.01 GB, free: 14.85 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.37e-05/0.3839, allocations: 19.98 kB / 1.01 GB, free: 14.83 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001192/0.3851, allocations: 0.6519 MB / 1.011 GB, free: 14.17 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.91e-07/0.3851, allocations: 0 / 1.011 GB, free: 14.17 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001821/0.3869, allocations: 0.5574 MB / 1.011 GB, free: 13.61 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008473/0.3878, allocations: 366.6 kB / 1.012 GB, free: 13.25 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003973/0.3918, allocations: 1.381 MB / 1.013 GB, free: 11.87 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.3918, allocations: 0 / 1.013 GB, free: 11.87 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001328/0.3931, allocations: 488.8 kB / 1.014 GB, free: 11.39 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002624/0.3957, allocations: 0.5137 MB / 1.014 GB, free: 10.89 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004262/0.4, allocations: 2.365 MB / 1.016 GB, free: 8.469 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007026/0.4007, allocations: 1.062 MB / 1.017 GB, free: 7.375 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002973/0.401, allocations: 87.41 kB / 1.017 GB, free: 7.289 MB / 0.6667 GB Notification: Performance of SimCode: time 8.01e-07/0.4011, allocations: 3.938 kB / 1.017 GB, free: 7.285 MB / 0.6667 GB Notification: Performance of Templates: time 0.03333/0.4344, allocations: 23.83 MB / 1.041 GB, free: 15.57 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1)