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_etaPL.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_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.397/1.397, allocations: 252 MB / 268 MB, free: 10.88 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.0009997/0.0009995, allocations: 174.4 kB / 327.6 MB, free: 2.105 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.575/1.575, allocations: 205.4 MB / 0.5786 GB, free: 20.12 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.0008076/0.0008077, allocations: 82.36 kB / 0.6832 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003442/0.0003442, allocations: 12.02 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2022/0.2026, allocations: 106.3 MB / 0.9014 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.04036/0.243, allocations: 59.8 MB / 0.9598 GB, free: 3.512 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01491/0.2579, allocations: 11.78 MB / 0.9713 GB, free: 7.691 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002229/0.2602, allocations: 47.69 kB / 0.9714 GB, free: 7.645 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002061/0.2623, allocations: 0.5477 MB / 0.9719 GB, free: 7.094 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.005798/0.2681, allocations: 1.787 MB / 0.9737 GB, free: 5.301 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003256/0.2714, allocations: 1.108 MB / 0.9748 GB, free: 4.203 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.005314/0.2767, allocations: 3.886 MB / 0.9786 GB, free: 308 kB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001632/0.2784, allocations: 0.9058 MB / 0.9794 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002747/0.2812, allocations: 1.12 MB / 0.9805 GB, free: 14.24 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001635/0.2828, allocations: 0.8592 MB / 0.9814 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002058/0.2831, allocations: 44 kB / 0.9814 GB, free: 13.33 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002881/0.286, allocations: 1.318 MB / 0.9827 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003257/0.2863, allocations: 218.8 kB / 0.9829 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0009136/0.2872, allocations: 0.6311 MB / 0.9835 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002626/0.2899, allocations: 1.699 MB / 0.9852 GB, free: 9.453 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.2899, allocations: 4 kB / 0.9852 GB, free: 9.449 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.236e-06/0.2899, allocations: 3.984 kB / 0.9852 GB, free: 9.445 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.653e-05/0.2899, allocations: 0 / 0.9852 GB, free: 9.445 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002839/0.2928, allocations: 1.489 MB / 0.9866 GB, free: 7.898 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.2928, allocations: 8.031 kB / 0.9867 GB, free: 7.891 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002165/0.295, allocations: 474.8 kB / 0.9871 GB, free: 7.426 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002215/0.2972, allocations: 1.144 MB / 0.9882 GB, free: 6.223 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003416/0.2976, allocations: 121.9 kB / 0.9883 GB, free: 6.105 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001489/0.2978, allocations: 88 kB / 0.9884 GB, free: 6.02 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002123/0.2999, allocations: 1.003 MB / 0.9894 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/0.2999, allocations: 4 kB / 0.9894 GB, free: 4.973 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.548e-05/0.3, allocations: 28 kB / 0.9894 GB, free: 4.945 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.83e-05/0.3, allocations: 20 kB / 0.9895 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002371/0.3024, allocations: 0.9329 MB / 0.9904 GB, free: 3.992 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.00736/0.3098, allocations: 4.659 MB / 0.9949 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003602/0.3134, allocations: 0.9381 MB / 0.9958 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007955/0.3143, allocations: 346 kB / 0.9962 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006827/0.315, allocations: 0.9145 MB / 0.9971 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/0.315, allocations: 39 kB / 0.9971 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=48): time 2.846e-06/0.315, allocations: 0 / 0.9971 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of matching and sorting (n=48): time 0.008996/0.324, allocations: 2.22 MB / 0.9993 GB, free: 10.31 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/0.3241, allocations: 63.78 kB / 0.9993 GB, free: 10.24 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001715/0.3258, allocations: 1.055 MB / 1 GB, free: 9.168 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001052/0.326, allocations: 37.7 kB / 1 GB, free: 9.125 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004527/0.3264, allocations: 0.5197 MB / 1.001 GB, free: 8.602 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001635/0.3266, allocations: 177.5 kB / 1.001 GB, free: 8.426 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.089e-05/0.3266, allocations: 8 kB / 1.001 GB, free: 8.418 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.3268, allocations: 330 kB / 1.001 GB, free: 8.09 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009054/0.3277, allocations: 340.9 kB / 1.002 GB, free: 7.754 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001092/0.3288, allocations: 0.5352 MB / 1.002 GB, free: 7.145 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001769/0.3306, allocations: 0.7401 MB / 1.003 GB, free: 6.355 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.3306, allocations: 0 / 1.003 GB, free: 6.355 MB / 0.6511 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002947/0.3336, allocations: 1.074 MB / 1.004 GB, free: 5.273 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001414/0.3337, allocations: 200 kB / 1.004 GB, free: 5.027 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.3337, allocations: 4 kB / 1.004 GB, free: 5.023 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001385/0.3351, allocations: 332.6 kB / 1.005 GB, free: 4.695 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005852/0.3357, allocations: 139.8 kB / 1.005 GB, free: 4.559 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001555/0.3373, allocations: 0.9322 MB / 1.006 GB, free: 3.602 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001418/0.3387, allocations: 199.1 kB / 1.006 GB, free: 3.406 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.53e-05/0.3388, allocations: 31.98 kB / 1.006 GB, free: 3.375 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.3389, allocations: 4 kB / 1.006 GB, free: 3.371 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002658/0.3415, allocations: 0.9403 MB / 1.007 GB, free: 2.426 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/0.3415, allocations: 8.031 kB / 1.007 GB, free: 2.418 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001187/0.3427, allocations: 328.5 kB / 1.007 GB, free: 2.094 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005696/0.3433, allocations: 131.8 kB / 1.007 GB, free: 1.965 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001479/0.3448, allocations: 0.9412 MB / 1.008 GB, free: 1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001347/0.3462, allocations: 167.3 kB / 1.008 GB, free: 0.8359 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.971e-05/0.3463, allocations: 35.98 kB / 1.008 GB, free: 0.8008 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (55): * Single equations (assignments): 54 * 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.0006291/0.3469, allocations: 352.9 kB / 1.009 GB, free: 456 kB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003008/0.3472, allocations: 114.6 kB / 1.009 GB, free: 340 kB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004174/0.3514, allocations: 1.25 MB / 1.01 GB, free: 15.07 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.276e-05/0.3515, allocations: 15.92 kB / 1.01 GB, free: 15.05 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.3515, allocations: 4 kB / 1.01 GB, free: 15.05 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.3515, allocations: 0 / 1.01 GB, free: 15.05 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00612/0.3576, allocations: 2.347 MB / 1.012 GB, free: 12.62 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-05/0.3577, allocations: 4 kB / 1.012 GB, free: 12.62 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003423/0.358, allocations: 80.16 kB / 1.012 GB, free: 12.54 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001138/0.3592, allocations: 327.1 kB / 1.013 GB, free: 12.22 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.047e-05/0.3592, allocations: 19.98 kB / 1.013 GB, free: 12.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001575/0.3608, allocations: 0.9892 MB / 1.014 GB, free: 11.18 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.3608, allocations: 4 kB / 1.014 GB, free: 11.18 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004017/0.3649, allocations: 1.318 MB / 1.015 GB, free: 9.805 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007371/0.3656, allocations: 283.5 kB / 1.015 GB, free: 9.508 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003134/0.366, allocations: 19.92 kB / 1.015 GB, free: 9.488 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001094/0.3671, allocations: 115.8 kB / 1.015 GB, free: 9.375 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.3672, allocations: 43.27 kB / 1.015 GB, free: 9.336 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.257e-05/0.3673, allocations: 23.98 kB / 1.015 GB, free: 9.312 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001468/0.3687, allocations: 0.743 MB / 1.016 GB, free: 8.562 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2e-07/0.3688, allocations: 4 kB / 1.016 GB, free: 8.559 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001829/0.3706, allocations: 0.5614 MB / 1.017 GB, free: 7.996 MB / 0.6667 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.0009555/0.3716, allocations: 377.5 kB / 1.017 GB, free: 7.625 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003498/0.3751, allocations: 1.221 MB / 1.018 GB, free: 6.406 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.3751, allocations: 4.188 kB / 1.018 GB, free: 6.402 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0009991/0.3761, allocations: 390.8 kB / 1.019 GB, free: 6.02 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003293/0.3794, allocations: 0.5278 MB / 1.019 GB, free: 5.496 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006073/0.3855, allocations: 2.602 MB / 1.022 GB, free: 2.828 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007295/0.3863, allocations: 1.066 MB / 1.023 GB, free: 1.73 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003702/0.3867, allocations: 87.41 kB / 1.023 GB, free: 1.645 MB / 0.6667 GB Notification: Performance of SimCode: time 7.61e-07/0.3867, allocations: 0 / 1.023 GB, free: 1.645 MB / 0.6667 GB Notification: Performance of Templates: time 0.03375/0.4204, allocations: 24.12 MB / 1.046 GB, free: 9.645 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1)