Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009469/0.000947, allocations: 91.14 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006654/0.006654, allocations: 170.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.482/1.482, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.71/1.71, allocations: 292.7 MB / 0.5502 GB, free: 14.46 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005332/0.0005332, allocations: 17.91 kB / 0.6744 GB, free: 25.77 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2139/0.2144, allocations: 116.3 MB / 0.788 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.05704/0.2715, allocations: 59.8 MB / 0.8464 GB, free: 15.47 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01728/0.2888, allocations: 11.85 MB / 0.858 GB, free: 3.598 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001988/0.2908, allocations: 51.62 kB / 0.858 GB, free: 3.547 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001648/0.2925, allocations: 0.5399 MB / 0.8585 GB, free: 3.004 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005089/0.2976, allocations: 1.792 MB / 0.8603 GB, free: 1.207 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002888/0.3005, allocations: 1.089 MB / 0.8613 GB, free: 128 kB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.00479/0.3053, allocations: 3.886 MB / 0.8651 GB, free: 12.23 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001536/0.3069, allocations: 0.8941 MB / 0.866 GB, free: 11.3 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002789/0.3097, allocations: 1.131 MB / 0.8671 GB, free: 10.16 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001444/0.3111, allocations: 0.8592 MB / 0.868 GB, free: 9.301 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001161/0.3112, allocations: 44 kB / 0.868 GB, free: 9.258 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003156/0.3144, allocations: 1.349 MB / 0.8693 GB, free: 7.906 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.000272/0.3147, allocations: 218.9 kB / 0.8695 GB, free: 7.691 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.000786/0.3155, allocations: 0.6311 MB / 0.8701 GB, free: 7.051 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003095/0.3186, allocations: 2.216 MB / 0.8723 GB, free: 4.828 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.3186, allocations: 4 kB / 0.8723 GB, free: 4.824 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3186, allocations: 0 / 0.8723 GB, free: 4.824 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.539e-05/0.3186, allocations: 4 kB / 0.8723 GB, free: 4.82 MB / 0.6856 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.002794/0.3214, allocations: 1.497 MB / 0.8738 GB, free: 3.266 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.3215, allocations: 8.031 kB / 0.8738 GB, free: 3.258 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001441/0.3216, allocations: 126.8 kB / 0.8739 GB, free: 3.125 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002186/0.3238, allocations: 478.6 kB / 0.8744 GB, free: 2.656 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002091/0.3259, allocations: 1.132 MB / 0.8755 GB, free: 1.465 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003692/0.3263, allocations: 133.9 kB / 0.8756 GB, free: 1.336 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001287/0.3265, allocations: 80 kB / 0.8757 GB, free: 1.258 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002057/0.3285, allocations: 1.011 MB / 0.8767 GB, free: 212 kB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.3286, allocations: 0 / 0.8767 GB, free: 212 kB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.73e-05/0.3286, allocations: 32 kB / 0.8767 GB, free: 180 kB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.672e-05/0.3287, allocations: 20 kB / 0.8767 GB, free: 160 kB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002391/0.3311, allocations: 0.9407 MB / 0.8776 GB, free: 15.22 MB / 0.7012 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.006283/0.3374, allocations: 4.625 MB / 0.8821 GB, free: 10.29 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00357/0.3409, allocations: 0.9578 MB / 0.8831 GB, free: 9.316 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007909/0.3418, allocations: 343.8 kB / 0.8834 GB, free: 8.984 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006406/0.3424, allocations: 0.9068 MB / 0.8843 GB, free: 7.875 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.767e-05/0.3424, allocations: 43 kB / 0.8843 GB, free: 7.824 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=48): time 2.224e-06/0.3425, allocations: 0 / 0.8843 GB, free: 7.824 MB / 0.7012 GB Notification: Performance of matching and sorting (n=48): time 0.009334/0.3518, allocations: 2.224 MB / 0.8865 GB, free: 5.566 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.322e-05/0.3519, allocations: 59.83 kB / 0.8866 GB, free: 5.496 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001582/0.3535, allocations: 1.055 MB / 0.8876 GB, free: 4.426 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.789e-05/0.3536, allocations: 37.7 kB / 0.8876 GB, free: 4.383 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003976/0.354, allocations: 0.5158 MB / 0.8881 GB, free: 3.863 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.000146/0.3541, allocations: 165.6 kB / 0.8883 GB, free: 3.699 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.074e-05/0.3542, allocations: 49.7 kB / 0.8883 GB, free: 3.645 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.3543, allocations: 326 kB / 0.8886 GB, free: 3.32 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009578/0.3553, allocations: 340.9 kB / 0.889 GB, free: 2.984 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00111/0.3564, allocations: 0.5352 MB / 0.8895 GB, free: 2.371 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001777/0.3582, allocations: 0.7363 MB / 0.8902 GB, free: 1.586 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.3582, allocations: 0 / 0.8902 GB, free: 1.586 MB / 0.7012 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003844/0.3621, allocations: 1.245 MB / 0.8914 GB, free: 340 kB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001187/0.3622, allocations: 204.4 kB / 0.8916 GB, free: 84 kB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.275e-06/0.3622, allocations: 0 / 0.8916 GB, free: 84 kB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001305/0.3635, allocations: 346.8 kB / 0.892 GB, free: 15.74 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005845/0.3641, allocations: 139.8 kB / 0.8921 GB, free: 15.61 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001491/0.3656, allocations: 0.9309 MB / 0.893 GB, free: 14.65 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001385/0.367, allocations: 206.4 kB / 0.8932 GB, free: 14.45 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.185e-05/0.3671, allocations: 27.98 kB / 0.8932 GB, free: 14.42 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.596e-06/0.3671, allocations: 4 kB / 0.8932 GB, free: 14.42 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003411/0.3705, allocations: 1.096 MB / 0.8943 GB, free: 13.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.3706, allocations: 4 kB / 0.8943 GB, free: 13.31 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00114/0.3717, allocations: 325 kB / 0.8946 GB, free: 12.99 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005738/0.3723, allocations: 139.8 kB / 0.8947 GB, free: 12.86 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001466/0.3738, allocations: 0.9415 MB / 0.8957 GB, free: 11.89 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001291/0.3751, allocations: 171.3 kB / 0.8958 GB, free: 11.72 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-05/0.3751, allocations: 35.97 kB / 0.8959 GB, free: 11.69 MB / 0.7169 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.0005388/0.3757, allocations: 348.9 kB / 0.8962 GB, free: 11.34 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001897/0.3759, allocations: 114.6 kB / 0.8963 GB, free: 11.22 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004092/0.38, allocations: 1.26 MB / 0.8975 GB, free: 9.945 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.569e-05/0.38, allocations: 11.98 kB / 0.8975 GB, free: 9.934 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.38, allocations: 0 / 0.8975 GB, free: 9.934 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.38, allocations: 0 / 0.8975 GB, free: 9.934 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00546/0.3855, allocations: 2.339 MB / 0.8998 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/0.3855, allocations: 4 kB / 0.8998 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003455/0.3859, allocations: 79.88 kB / 0.8999 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001081/0.387, allocations: 328.8 kB / 0.9002 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.099e-05/0.387, allocations: 19.98 kB / 0.9002 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001516/0.3886, allocations: 0.9698 MB / 0.9012 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.3886, allocations: 4 kB / 0.9012 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003981/0.3926, allocations: 1.33 MB / 0.9025 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005607/0.3931, allocations: 291.4 kB / 0.9028 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001253/0.3933, allocations: 11.94 kB / 0.9028 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009212/0.3942, allocations: 115.8 kB / 0.9029 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.979e-05/0.3943, allocations: 35.33 kB / 0.9029 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.441e-05/0.3944, allocations: 23.98 kB / 0.9029 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001165/0.3955, allocations: 0.7508 MB / 0.9037 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.7e-07/0.3956, allocations: 0 / 0.9037 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001502/0.3971, allocations: 0.5692 MB / 0.9042 GB, free: 2.891 MB / 0.7169 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.005174/0.4022, allocations: 2.15 MB / 0.9063 GB, free: 0.6914 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003422/0.4057, allocations: 1.226 MB / 0.9075 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.762e-06/0.4057, allocations: 4.188 kB / 0.9075 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000981/0.4067, allocations: 394.3 kB / 0.9079 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003093/0.4098, allocations: 0.5222 MB / 0.9084 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02151/0.4313, allocations: 9.659 MB / 0.9179 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006211/0.432, allocations: 1.066 MB / 0.9189 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001111/0.4331, allocations: 236.8 kB / 0.9191 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005532/0.4337, allocations: 423.2 kB / 0.9195 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of SimCode: time 6.21e-07/0.4337, allocations: 0 / 0.9195 GB, free: 2.715 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4309/0.8646, allocations: 33.02 MB / 0.9518 GB, free: 123.4 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002016/0.8648, allocations: 274.5 kB / 0.952 GB, free: 123 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.534/3.399, allocations: 0 / 0.952 GB, free: 123 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL.fmu > Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1)