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.464/1.464, allocations: 252 MB / 268 MB, free: 10.85 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.001057/0.001058, allocations: 170.5 kB / 327.6 MB, free: 2.102 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.645/1.645, allocations: 205.4 MB / 0.5786 GB, free: 20.22 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.0007656/0.0007653, allocations: 80.09 kB / 0.6832 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003731/0.0003732, allocations: 10.66 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.207, allocations: 106.3 MB / 0.9014 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.04175/0.2488, allocations: 59.79 MB / 0.9598 GB, free: 3.543 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01556/0.2644, allocations: 11.79 MB / 0.9714 GB, free: 7.711 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002492/0.2669, allocations: 55.62 kB / 0.9714 GB, free: 7.656 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002247/0.2692, allocations: 0.5438 MB / 0.9719 GB, free: 7.109 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.006171/0.2754, allocations: 1.795 MB / 0.9737 GB, free: 5.309 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003556/0.279, allocations: 1.101 MB / 0.9748 GB, free: 4.219 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.00578/0.2848, allocations: 3.892 MB / 0.9786 GB, free: 320 kB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001858/0.2867, allocations: 0.9109 MB / 0.9795 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002899/0.2896, allocations: 1.116 MB / 0.9805 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001753/0.2914, allocations: 0.8709 MB / 0.9814 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002067/0.2916, allocations: 44 kB / 0.9814 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002992/0.2946, allocations: 1.302 MB / 0.9827 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002994/0.295, allocations: 210.9 kB / 0.9829 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.00114/0.2961, allocations: 0.635 MB / 0.9835 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002838/0.299, allocations: 1.699 MB / 0.9852 GB, free: 9.477 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.299, allocations: 0 / 0.9852 GB, free: 9.477 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.004e-06/0.299, allocations: 4 kB / 0.9852 GB, free: 9.473 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.615e-05/0.299, allocations: 0 / 0.9852 GB, free: 9.473 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.003282/0.3023, allocations: 1.489 MB / 0.9866 GB, free: 7.926 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.3024, allocations: 8.031 kB / 0.9867 GB, free: 7.918 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002547/0.3049, allocations: 0.5222 MB / 0.9872 GB, free: 7.395 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002441/0.3074, allocations: 1.14 MB / 0.9883 GB, free: 6.195 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003583/0.3078, allocations: 129.9 kB / 0.9884 GB, free: 6.07 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001343/0.3079, allocations: 80 kB / 0.9885 GB, free: 5.992 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002256/0.3102, allocations: 1.037 MB / 0.9895 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/0.3102, allocations: 4 kB / 0.9895 GB, free: 4.918 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.963e-05/0.3103, allocations: 32 kB / 0.9895 GB, free: 4.887 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.058e-05/0.3103, allocations: 16 kB / 0.9895 GB, free: 4.871 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002669/0.313, allocations: 1.015 MB / 0.9905 GB, free: 3.855 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.006618/0.3196, allocations: 4.719 MB / 0.9951 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004139/0.3238, allocations: 1.128 MB / 0.9962 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00114/0.325, allocations: 444.6 kB / 0.9967 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001029/0.326, allocations: 1.033 MB / 0.9977 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/0.3261, allocations: 42.98 kB / 0.9977 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=53): time 3.827e-06/0.3261, allocations: 0 / 0.9977 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of matching and sorting (n=53): time 0.009987/0.3361, allocations: 2.498 MB / 1 GB, free: 9.383 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.084e-05/0.3362, allocations: 63.84 kB / 1 GB, free: 9.309 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001457/0.3376, allocations: 0.9355 MB / 1.001 GB, free: 8.355 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.356e-05/0.3377, allocations: 37.7 kB / 1.001 GB, free: 8.312 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004265/0.3382, allocations: 0.504 MB / 1.002 GB, free: 7.805 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001871/0.3384, allocations: 185.3 kB / 1.002 GB, free: 7.621 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.033e-05/0.3384, allocations: 8 kB / 1.002 GB, free: 7.613 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.3386, allocations: 330 kB / 1.002 GB, free: 7.285 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001059/0.3396, allocations: 376.9 kB / 1.003 GB, free: 6.914 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001233/0.3409, allocations: 0.5428 MB / 1.003 GB, free: 6.309 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002125/0.343, allocations: 0.8166 MB / 1.004 GB, free: 5.457 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.343, allocations: 0 / 1.004 GB, free: 5.457 MB / 0.6511 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.004172/0.3472, allocations: 1.314 MB / 1.005 GB, free: 4.133 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001398/0.3474, allocations: 160.1 kB / 1.005 GB, free: 3.938 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.3474, allocations: 3.984 kB / 1.005 GB, free: 3.934 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001336/0.3487, allocations: 336.5 kB / 1.006 GB, free: 3.602 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006888/0.3494, allocations: 143.8 kB / 1.006 GB, free: 3.461 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001563/0.351, allocations: 0.9374 MB / 1.007 GB, free: 2.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001316/0.3523, allocations: 171.4 kB / 1.007 GB, free: 2.332 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.667e-05/0.3525, allocations: 31.98 kB / 1.007 GB, free: 2.301 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.3525, allocations: 4 kB / 1.007 GB, free: 2.297 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003619/0.3561, allocations: 1.165 MB / 1.008 GB, free: 1.129 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.3561, allocations: 0 / 1.008 GB, free: 1.129 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001157/0.3573, allocations: 324.8 kB / 1.008 GB, free: 0.8086 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000649/0.358, allocations: 143.8 kB / 1.008 GB, free: 0.668 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001525/0.3595, allocations: 0.9347 MB / 1.009 GB, free: 15.71 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001326/0.3608, allocations: 175.3 kB / 1.01 GB, free: 15.54 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.567e-05/0.361, allocations: 31.98 kB / 1.01 GB, free: 15.5 MB / 0.6667 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.0006682/0.3616, allocations: 349 kB / 1.01 GB, free: 15.15 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002948/0.3619, allocations: 106.7 kB / 1.01 GB, free: 15.05 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004838/0.3668, allocations: 1.438 MB / 1.011 GB, free: 13.6 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.815e-05/0.3668, allocations: 8 kB / 1.011 GB, free: 13.59 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.333e-06/0.3668, allocations: 7.984 kB / 1.011 GB, free: 13.58 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.894e-06/0.3669, allocations: 0 / 1.011 GB, free: 13.58 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006268/0.3731, allocations: 2.526 MB / 1.014 GB, free: 10.98 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.053e-05/0.3732, allocations: 0 / 1.014 GB, free: 10.98 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005961/0.3738, allocations: 120 kB / 1.014 GB, free: 10.86 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001077/0.3749, allocations: 324.6 kB / 1.014 GB, free: 10.54 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-05/0.375, allocations: 11.98 kB / 1.014 GB, free: 10.53 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001641/0.3766, allocations: 0.9659 MB / 1.015 GB, free: 9.535 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.142e-06/0.3766, allocations: 7.969 kB / 1.015 GB, free: 9.527 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004571/0.3812, allocations: 1.46 MB / 1.017 GB, free: 8.031 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006339/0.3819, allocations: 291.5 kB / 1.017 GB, free: 7.727 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001257/0.382, allocations: 8 kB / 1.017 GB, free: 7.719 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009449/0.3829, allocations: 131.7 kB / 1.017 GB, free: 7.59 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.3831, allocations: 52.31 kB / 1.017 GB, free: 7.539 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.394e-05/0.3831, allocations: 23.98 kB / 1.017 GB, free: 7.516 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0009417/0.3841, allocations: 0.6598 MB / 1.018 GB, free: 6.848 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3841, allocations: 0 / 1.018 GB, free: 6.848 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001512/0.3856, allocations: 0.5535 MB / 1.018 GB, free: 6.293 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.0008971/0.3865, allocations: 386.6 kB / 1.019 GB, free: 5.914 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.004257/0.3908, allocations: 1.381 MB / 1.02 GB, free: 4.535 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.3908, allocations: 0 / 1.02 GB, free: 4.535 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001241/0.3921, allocations: 492.8 kB / 1.021 GB, free: 4.059 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002745/0.3948, allocations: 0.5037 MB / 1.021 GB, free: 3.559 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004209/0.399, allocations: 2.414 MB / 1.023 GB, free: 1.086 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006714/0.3997, allocations: 1.062 MB / 1.024 GB, free: 15.99 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000351/0.4001, allocations: 87.39 kB / 1.025 GB, free: 15.91 MB / 0.6823 GB Notification: Performance of SimCode: time 8.52e-07/0.4001, allocations: 4 kB / 1.025 GB, free: 15.9 MB / 0.6823 GB Notification: Performance of Templates: time 0.03283/0.4329, allocations: 23.83 MB / 1.048 GB, free: 8.195 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)