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.391/1.391, allocations: 251.5 MB / 267.4 MB, free: 11.06 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.0009105/0.0009104, allocations: 184.5 kB / 326.5 MB, free: 2.68 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.735/1.735, allocations: 205 MB / 0.5766 GB, free: 20.98 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.0007918/0.0007917, allocations: 92.06 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003352/0.0003352, allocations: 12.91 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2095/0.2099, allocations: 105.4 MB / 0.8967 GB, free: 68.19 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.03997/0.2499, allocations: 60.56 MB / 0.9559 GB, free: 7.418 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01411/0.264, allocations: 11.93 MB / 0.9675 GB, free: 11.46 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002255/0.2663, allocations: 59.62 kB / 0.9676 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002/0.2683, allocations: 0.5516 MB / 0.9681 GB, free: 10.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.005875/0.2742, allocations: 1.784 MB / 0.9699 GB, free: 9.055 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003202/0.2775, allocations: 1.109 MB / 0.9709 GB, free: 7.953 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.005355/0.2828, allocations: 3.898 MB / 0.9747 GB, free: 4.039 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001821/0.2847, allocations: 0.8968 MB / 0.9756 GB, free: 3.113 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002704/0.2874, allocations: 1.116 MB / 0.9767 GB, free: 1.992 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001541/0.289, allocations: 0.867 MB / 0.9776 GB, free: 1.121 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.000176/0.2892, allocations: 44 kB / 0.9776 GB, free: 1.078 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002855/0.292, allocations: 1.302 MB / 0.9789 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003002/0.2923, allocations: 214.9 kB / 0.9791 GB, free: 15.56 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0008733/0.2932, allocations: 0.6099 MB / 0.9797 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002285/0.2955, allocations: 1.691 MB / 0.9813 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.2955, allocations: 0 / 0.9813 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.144e-06/0.2955, allocations: 0 / 0.9813 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.023e-05/0.2956, allocations: 0 / 0.9813 GB, free: 13.25 MB / 0.6355 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.002713/0.2983, allocations: 1.497 MB / 0.9828 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.2983, allocations: 12.03 kB / 0.9828 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002575/0.3009, allocations: 0.5105 MB / 0.9833 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002294/0.3032, allocations: 1.136 MB / 0.9844 GB, free: 9.98 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000378/0.3036, allocations: 137.9 kB / 0.9845 GB, free: 9.844 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001197/0.3038, allocations: 87.88 kB / 0.9846 GB, free: 9.758 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00218/0.306, allocations: 1.029 MB / 0.9856 GB, free: 8.699 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.153e-05/0.306, allocations: 7.922 kB / 0.9856 GB, free: 8.691 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.931e-05/0.3061, allocations: 32 kB / 0.9857 GB, free: 8.66 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.778e-05/0.3061, allocations: 20 kB / 0.9857 GB, free: 8.641 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002566/0.3087, allocations: 1.011 MB / 0.9867 GB, free: 7.625 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.00655/0.3152, allocations: 4.719 MB / 0.9913 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004139/0.3194, allocations: 1.125 MB / 0.9924 GB, free: 1.426 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00106/0.3205, allocations: 441.9 kB / 0.9928 GB, free: 0.9922 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009615/0.3215, allocations: 1.033 MB / 0.9938 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.3215, allocations: 38.94 kB / 0.9938 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=53): time 2.604e-06/0.3215, allocations: 0 / 0.9938 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of matching and sorting (n=53): time 0.009584/0.3311, allocations: 2.506 MB / 0.9963 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/0.3312, allocations: 55.84 kB / 0.9963 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001384/0.3326, allocations: 0.9354 MB / 0.9973 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001052/0.3327, allocations: 45.64 kB / 0.9973 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003722/0.3331, allocations: 0.5079 MB / 0.9978 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.000168/0.3332, allocations: 181.3 kB / 0.998 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.719e-05/0.3333, allocations: 49.7 kB / 0.998 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.3334, allocations: 326 kB / 0.9983 GB, free: 11.02 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009962/0.3344, allocations: 380.9 kB / 0.9987 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001148/0.3356, allocations: 0.5429 MB / 0.9992 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002075/0.3377, allocations: 0.8204 MB / 1 GB, free: 9.184 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.633e-06/0.3377, allocations: 4 kB / 1 GB, free: 9.18 MB / 0.6511 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.003057/0.3408, allocations: 1.135 MB / 1.001 GB, free: 8.031 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001182/0.3409, allocations: 156.4 kB / 1.001 GB, free: 7.844 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.3409, allocations: 8 kB / 1.001 GB, free: 7.836 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001309/0.3423, allocations: 331.2 kB / 1.002 GB, free: 7.512 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006597/0.3429, allocations: 147.8 kB / 1.002 GB, free: 7.367 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001534/0.3445, allocations: 0.9348 MB / 1.003 GB, free: 6.406 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001291/0.3458, allocations: 175.3 kB / 1.003 GB, free: 6.234 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.688e-05/0.3459, allocations: 27.98 kB / 1.003 GB, free: 6.207 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.3459, allocations: 4 kB / 1.003 GB, free: 6.203 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002715/0.3486, allocations: 0.9937 MB / 1.004 GB, free: 5.207 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.3487, allocations: 0 / 1.004 GB, free: 5.207 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001137/0.3498, allocations: 324.9 kB / 1.004 GB, free: 4.887 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006221/0.3504, allocations: 143.8 kB / 1.004 GB, free: 4.746 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001383/0.3518, allocations: 0.9377 MB / 1.005 GB, free: 3.785 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001254/0.3531, allocations: 175.3 kB / 1.005 GB, free: 3.613 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.24e-05/0.3532, allocations: 27.97 kB / 1.005 GB, free: 3.586 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 (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.000541/0.3537, allocations: 352.9 kB / 1.006 GB, free: 3.23 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000279/0.354, allocations: 110.6 kB / 1.006 GB, free: 3.121 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004615/0.3586, allocations: 1.447 MB / 1.007 GB, free: 1.66 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.822e-05/0.3587, allocations: 4 kB / 1.007 GB, free: 1.656 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.3587, allocations: 0 / 1.007 GB, free: 1.656 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/0.3587, allocations: 7.984 kB / 1.007 GB, free: 1.648 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006162/0.3649, allocations: 2.522 MB / 1.01 GB, free: 15.05 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.678e-06/0.3649, allocations: 0 / 1.01 GB, free: 15.05 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005644/0.3655, allocations: 120 kB / 1.01 GB, free: 14.93 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001039/0.3665, allocations: 331.4 kB / 1.01 GB, free: 14.61 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.209e-05/0.3666, allocations: 15.98 kB / 1.01 GB, free: 14.59 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001499/0.3681, allocations: 0.9698 MB / 1.011 GB, free: 13.59 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/0.3682, allocations: 4.031 kB / 1.011 GB, free: 13.59 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004463/0.3726, allocations: 1.456 MB / 1.013 GB, free: 12.1 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006309/0.3733, allocations: 271.5 kB / 1.013 GB, free: 11.81 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002195/0.3735, allocations: 23.92 kB / 1.013 GB, free: 11.79 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001042/0.3746, allocations: 119.8 kB / 1.013 GB, free: 11.67 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.7e-05/0.3747, allocations: 44.31 kB / 1.013 GB, free: 11.63 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.976e-05/0.3748, allocations: 23.98 kB / 1.013 GB, free: 11.61 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0009886/0.3758, allocations: 0.6637 MB / 1.014 GB, free: 10.93 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3758, allocations: 0 / 1.014 GB, free: 10.93 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001606/0.3774, allocations: 0.5612 MB / 1.014 GB, free: 10.37 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 (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.0008565/0.3782, allocations: 367.1 kB / 1.015 GB, free: 10.01 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.004027/0.3823, allocations: 1.389 MB / 1.016 GB, free: 8.625 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.3823, allocations: 0 / 1.016 GB, free: 8.625 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001376/0.3837, allocations: 492.8 kB / 1.016 GB, free: 8.141 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003179/0.3869, allocations: 0.501 MB / 1.017 GB, free: 7.648 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004583/0.3915, allocations: 2.39 MB / 1.019 GB, free: 5.203 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007288/0.3923, allocations: 1.066 MB / 1.02 GB, free: 4.105 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003519/0.3926, allocations: 99.27 kB / 1.02 GB, free: 4.008 MB / 0.6667 GB Notification: Performance of SimCode: time 8.52e-07/0.3927, allocations: 0 / 1.02 GB, free: 4.008 MB / 0.6667 GB Notification: Performance of Templates: time 0.03663/0.4293, allocations: 23.83 MB / 1.044 GB, free: 12.31 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)