Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.169/2.169, allocations: 391.2 MB / 407 MB, free: 10.84 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 200.1 kB / 499.1 MB, free: 4.633 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 222.9 MB / 0.7948 GB, free: 15.73 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 104.3 kB / 0.9329 GB, free: 7.074 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001036/0.001036, allocations: 53.94 kB / 1.081 GB, free: 217.9 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2469/0.2479, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.04037/0.2883, allocations: 60.89 MB / 1.278 GB, free: 56.11 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.01305/0.3014, allocations: 12.05 MB / 1.289 GB, free: 44.03 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002171/0.3036, allocations: 59.62 kB / 1.289 GB, free: 43.97 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.00169/0.3053, allocations: 0.5477 MB / 1.29 GB, free: 43.42 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.004428/0.3098, allocations: 1.808 MB / 1.292 GB, free: 41.61 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002497/0.3123, allocations: 1.072 MB / 1.293 GB, free: 40.54 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.003507/0.3158, allocations: 3.925 MB / 1.297 GB, free: 36.6 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00137/0.3172, allocations: 0.9294 MB / 1.297 GB, free: 35.64 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002128/0.3194, allocations: 1.17 MB / 1.299 GB, free: 34.47 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009689/0.3203, allocations: 0.8904 MB / 1.299 GB, free: 33.57 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001156/0.3205, allocations: 56 kB / 1.3 GB, free: 33.52 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00223/0.3227, allocations: 1.356 MB / 1.301 GB, free: 32.16 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001947/0.3229, allocations: 242.8 kB / 1.301 GB, free: 31.92 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0005284/0.3234, allocations: 0.6372 MB / 1.302 GB, free: 31.28 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.002206/0.3257, allocations: 2.24 MB / 1.304 GB, free: 29.04 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.3257, allocations: 0 / 1.304 GB, free: 29.04 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3257, allocations: 0 / 1.304 GB, free: 29.04 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.227e-05/0.3257, allocations: 0 / 1.304 GB, free: 29.04 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002364/0.3281, allocations: 1.738 MB / 1.306 GB, free: 27.23 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.3281, allocations: 11.98 kB / 1.306 GB, free: 27.22 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001907/0.33, allocations: 410.8 kB / 1.306 GB, free: 26.82 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00166/0.3317, allocations: 1.12 MB / 1.307 GB, free: 25.64 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003191/0.332, allocations: 125.9 kB / 1.307 GB, free: 25.52 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.718e-05/0.3321, allocations: 79.98 kB / 1.307 GB, free: 25.44 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001608/0.3338, allocations: 0.9817 MB / 1.308 GB, free: 24.42 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/0.3338, allocations: 3.938 kB / 1.308 GB, free: 24.41 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.618e-05/0.3339, allocations: 32 kB / 1.308 GB, free: 24.38 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.315e-05/0.3339, allocations: 27.92 kB / 1.308 GB, free: 24.36 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00208/0.336, allocations: 0.8625 MB / 1.309 GB, free: 23.49 MB / 0.823 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.004771/0.3407, allocations: 4.84 MB / 1.314 GB, free: 18.3 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003102/0.3439, allocations: 0.7987 MB / 1.315 GB, free: 17.5 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006314/0.3445, allocations: 301.6 kB / 1.315 GB, free: 17.2 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003984/0.3449, allocations: 0.9141 MB / 1.316 GB, free: 16.08 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.3449, allocations: 42.5 kB / 1.316 GB, free: 16.03 MB / 0.823 GB Notification: Performance of pre-optimization done (n=44): time 2.885e-06/0.3449, allocations: 0 / 1.316 GB, free: 16.03 MB / 0.823 GB Notification: Performance of matching and sorting (n=44): time 0.007883/0.3528, allocations: 1.923 MB / 1.318 GB, free: 14.08 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.877e-05/0.3529, allocations: 59.36 kB / 1.318 GB, free: 14.01 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001298/0.3542, allocations: 1.048 MB / 1.319 GB, free: 12.95 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 5.996e-05/0.3543, allocations: 37.7 kB / 1.319 GB, free: 12.9 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002745/0.3546, allocations: 0.5235 MB / 1.319 GB, free: 12.38 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 9.587e-05/0.3547, allocations: 157.7 kB / 1.32 GB, free: 12.22 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001852/0.3548, allocations: 126 kB / 1.32 GB, free: 12.09 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 4.717e-05/0.3549, allocations: 330 kB / 1.32 GB, free: 11.76 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007807/0.3557, allocations: 310.8 kB / 1.32 GB, free: 11.45 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000953/0.3567, allocations: 0.5021 MB / 1.321 GB, free: 10.87 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001473/0.3581, allocations: 0.6751 MB / 1.321 GB, free: 10.14 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.3582, allocations: 11.88 kB / 1.321 GB, free: 10.12 MB / 0.823 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002451/0.3606, allocations: 0.9841 MB / 1.322 GB, free: 9.129 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.3606, allocations: 11.98 kB / 1.322 GB, free: 9.117 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.3607, allocations: 4 kB / 1.322 GB, free: 9.113 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001175/0.3618, allocations: 313.1 kB / 1.323 GB, free: 8.805 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004705/0.3623, allocations: 123.8 kB / 1.323 GB, free: 8.684 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001198/0.3635, allocations: 0.9136 MB / 1.324 GB, free: 7.746 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001172/0.3647, allocations: 171.2 kB / 1.324 GB, free: 7.578 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-05/0.3648, allocations: 39.98 kB / 1.324 GB, free: 7.539 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001035/0.3658, allocations: 0.5009 MB / 1.324 GB, free: 7.031 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008991/0.3667, allocations: 0.4982 MB / 1.325 GB, free: 6.453 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001389/0.3681, allocations: 0.667 MB / 1.326 GB, free: 5.73 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.745e-06/0.3682, allocations: 8 kB / 1.326 GB, free: 5.723 MB / 0.823 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.002317/0.3705, allocations: 0.9803 MB / 1.326 GB, free: 4.73 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.3705, allocations: 8 kB / 1.327 GB, free: 4.723 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.3705, allocations: 4 kB / 1.327 GB, free: 4.719 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001002/0.3715, allocations: 313 kB / 1.327 GB, free: 4.41 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000445/0.372, allocations: 119.8 kB / 1.327 GB, free: 4.293 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001132/0.3731, allocations: 0.9139 MB / 1.328 GB, free: 3.355 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001154/0.3743, allocations: 155.6 kB / 1.328 GB, free: 3.203 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-05/0.3744, allocations: 27.98 kB / 1.328 GB, free: 3.176 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (51): * Single equations (assignments): 50 * 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.000178/0.3745, allocations: 219.3 kB / 1.328 GB, free: 2.957 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001376/0.3747, allocations: 110.6 kB / 1.328 GB, free: 2.848 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003398/0.3781, allocations: 1.119 MB / 1.329 GB, free: 1.703 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-05/0.3781, allocations: 7.938 kB / 1.329 GB, free: 1.695 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.3781, allocations: 0 / 1.329 GB, free: 1.695 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.3781, allocations: 7.984 kB / 1.329 GB, free: 1.688 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004897/0.383, allocations: 2.187 MB / 1.332 GB, free: 15.42 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.054e-05/0.3831, allocations: 8.031 kB / 1.332 GB, free: 15.41 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002781/0.3834, allocations: 59.89 kB / 1.332 GB, free: 15.35 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001071/0.3845, allocations: 317.4 kB / 1.332 GB, free: 15.04 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.775e-05/0.3845, allocations: 19.98 kB / 1.332 GB, free: 15.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001547/0.3861, allocations: 0.9451 MB / 1.333 GB, free: 14.05 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.3861, allocations: 0 / 1.333 GB, free: 14.05 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005141/0.3912, allocations: 2.274 MB / 1.335 GB, free: 11.69 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005357/0.3918, allocations: 263.5 kB / 1.335 GB, free: 11.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001275/0.3919, allocations: 16 kB / 1.335 GB, free: 11.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008611/0.3928, allocations: 99.8 kB / 1.335 GB, free: 11.3 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.612e-05/0.3929, allocations: 31.95 kB / 1.335 GB, free: 11.27 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.548e-05/0.393, allocations: 23.98 kB / 1.335 GB, free: 11.24 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.001121/0.3941, allocations: 0.7389 MB / 1.336 GB, free: 10.5 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3941, allocations: 0 / 1.336 GB, free: 10.5 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.00162/0.3957, allocations: 0.5847 MB / 1.337 GB, free: 9.91 MB / 0.8386 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 (34): * Single equations (assignments): 29 * 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.0007238/0.3964, allocations: 385.6 kB / 1.337 GB, free: 9.527 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.003044/0.3995, allocations: 1.105 MB / 1.338 GB, free: 8.418 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.3995, allocations: 0 / 1.338 GB, free: 8.418 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0008964/0.4004, allocations: 354.4 kB / 1.339 GB, free: 8.074 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002443/0.4029, allocations: 0.4993 MB / 1.339 GB, free: 7.582 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005507/0.4084, allocations: 2.738 MB / 1.342 GB, free: 4.777 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005904/0.409, allocations: 1.092 MB / 1.343 GB, free: 3.656 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0009921/0.41, allocations: 210.4 kB / 1.343 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001831/0.4102, allocations: 71.42 kB / 1.343 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of SimCode: time 7.71e-07/0.4102, allocations: 0 / 1.343 GB, free: 3.379 MB / 0.8386 GB Notification: Performance of Templates: time 0.03902/0.4492, allocations: 24.64 MB / 1.367 GB, free: 10.97 MB / 0.8698 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1)