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.0009366/0.0009366, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.00101/0.00101, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.703/1.703, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.686/1.686, allocations: 292.6 MB / 0.5497 GB, free: 14.61 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.0005325/0.0005326, allocations: 12.16 kB / 0.6737 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2592/0.2598, allocations: 116.3 MB / 0.7872 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.05088/0.3107, allocations: 51.36 MB / 0.8374 GB, free: 8.363 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01718/0.328, allocations: 10.22 MB / 0.8474 GB, free: 14.12 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002062/0.3301, allocations: 47.62 kB / 0.8474 GB, free: 14.08 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002216/0.3323, allocations: 0.6219 MB / 0.848 GB, free: 13.45 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006262/0.3386, allocations: 1.908 MB / 0.8499 GB, free: 11.54 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004094/0.3427, allocations: 1.315 MB / 0.8512 GB, free: 10.25 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003921/0.3466, allocations: 1.854 MB / 0.853 GB, free: 8.395 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001257/0.3479, allocations: 0.8094 MB / 0.8538 GB, free: 7.559 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002092/0.35, allocations: 0.9847 MB / 0.8547 GB, free: 6.57 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008461/0.3509, allocations: 0.6027 MB / 0.8553 GB, free: 5.965 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 9.961e-05/0.351, allocations: 44 kB / 0.8554 GB, free: 5.922 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002396/0.3534, allocations: 1.006 MB / 0.8563 GB, free: 4.914 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002065/0.3536, allocations: 195.2 kB / 0.8565 GB, free: 4.723 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0003034/0.3539, allocations: 289 kB / 0.8568 GB, free: 4.434 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001914/0.3558, allocations: 1.605 MB / 0.8584 GB, free: 2.824 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.3558, allocations: 0 / 0.8584 GB, free: 2.824 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.923e-06/0.3559, allocations: 0 / 0.8584 GB, free: 2.824 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.873e-05/0.3559, allocations: 0 / 0.8584 GB, free: 2.824 MB / 0.67 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.002593/0.3585, allocations: 1.489 MB / 0.8598 GB, free: 1.277 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.3585, allocations: 8.031 kB / 0.8598 GB, free: 1.27 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001318/0.3587, allocations: 122.7 kB / 0.86 GB, free: 1.141 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002067/0.3607, allocations: 473.9 kB / 0.8604 GB, free: 0.6758 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001841/0.3626, allocations: 1.062 MB / 0.8614 GB, free: 15.55 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003416/0.3629, allocations: 125.9 kB / 0.8616 GB, free: 15.43 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001138/0.3631, allocations: 87.98 kB / 0.8616 GB, free: 15.35 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001914/0.365, allocations: 0.9995 MB / 0.8626 GB, free: 14.31 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.365, allocations: 4 kB / 0.8626 GB, free: 14.3 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.648e-05/0.3651, allocations: 32 kB / 0.8627 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.793e-05/0.3651, allocations: 16 kB / 0.8627 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002251/0.3674, allocations: 0.9251 MB / 0.8636 GB, free: 13.34 MB / 0.6856 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.006986/0.3744, allocations: 4.666 MB / 0.8681 GB, free: 8.359 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003489/0.3779, allocations: 0.95 MB / 0.8691 GB, free: 7.398 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006323/0.3785, allocations: 0.8951 MB / 0.8699 GB, free: 6.301 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.06e-05/0.3786, allocations: 46.98 kB / 0.87 GB, free: 6.246 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=48): time 2.425e-06/0.3786, allocations: 0 / 0.87 GB, free: 6.246 MB / 0.6856 GB Notification: Performance of matching and sorting (n=48): time 0.008609/0.3872, allocations: 2.205 MB / 0.8721 GB, free: 4.012 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/0.3873, allocations: 59.83 kB / 0.8722 GB, free: 3.941 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001519/0.3888, allocations: 1.063 MB / 0.8732 GB, free: 2.863 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 8.587e-05/0.3889, allocations: 37.7 kB / 0.8733 GB, free: 2.82 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003802/0.3893, allocations: 0.5196 MB / 0.8738 GB, free: 2.297 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001454/0.3894, allocations: 169.6 kB / 0.8739 GB, free: 2.129 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.297e-05/0.3895, allocations: 11.94 kB / 0.8739 GB, free: 2.117 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.3896, allocations: 333.9 kB / 0.8743 GB, free: 1.785 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008713/0.3905, allocations: 328.9 kB / 0.8746 GB, free: 1.465 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001027/0.3915, allocations: 0.5313 MB / 0.8751 GB, free: 0.8516 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000898/0.3924, allocations: 368.6 kB / 0.8754 GB, free: 0.4922 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.87e-06/0.3924, allocations: 0 / 0.8754 GB, free: 0.4922 MB / 0.6856 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002646/0.3951, allocations: 1.065 MB / 0.8765 GB, free: 15.41 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005121/0.3956, allocations: 1.411 MB / 0.8779 GB, free: 13.9 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.3956, allocations: 4 kB / 0.8779 GB, free: 13.9 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001297/0.3969, allocations: 336.5 kB / 0.8782 GB, free: 13.57 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005517/0.3975, allocations: 135.8 kB / 0.8783 GB, free: 13.43 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001447/0.3989, allocations: 0.9348 MB / 0.8792 GB, free: 12.47 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001331/0.4003, allocations: 198.5 kB / 0.8794 GB, free: 12.28 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.541e-05/0.4004, allocations: 35.97 kB / 0.8795 GB, free: 12.25 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/0.4004, allocations: 4 kB / 0.8795 GB, free: 12.24 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002383/0.4028, allocations: 0.9321 MB / 0.8804 GB, free: 11.3 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.842e-06/0.4028, allocations: 8.312 kB / 0.8804 GB, free: 11.3 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001053/0.4039, allocations: 331.1 kB / 0.8807 GB, free: 10.97 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005391/0.4044, allocations: 131.8 kB / 0.8808 GB, free: 10.84 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001363/0.4058, allocations: 0.9386 MB / 0.8817 GB, free: 9.879 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001306/0.4071, allocations: 175.3 kB / 0.8819 GB, free: 9.707 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.735e-05/0.4072, allocations: 27.98 kB / 0.8819 GB, free: 9.68 MB / 0.7012 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0005865/0.4078, allocations: 353 kB / 0.8823 GB, free: 9.324 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000146/0.4079, allocations: 106.7 kB / 0.8824 GB, free: 9.219 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003692/0.4116, allocations: 1.26 MB / 0.8836 GB, free: 7.945 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.777e-05/0.4117, allocations: 11.98 kB / 0.8836 GB, free: 7.934 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.4117, allocations: 0 / 0.8836 GB, free: 7.934 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.4117, allocations: 0 / 0.8836 GB, free: 7.934 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005164/0.4168, allocations: 2.362 MB / 0.8859 GB, free: 5.492 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/0.4169, allocations: 4 kB / 0.8859 GB, free: 5.488 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003115/0.4172, allocations: 80.17 kB / 0.886 GB, free: 5.41 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001032/0.4182, allocations: 328.4 kB / 0.8863 GB, free: 5.086 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.068e-05/0.4183, allocations: 15.98 kB / 0.8863 GB, free: 5.07 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001436/0.4197, allocations: 0.9845 MB / 0.8873 GB, free: 4.062 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/0.4197, allocations: 4 kB / 0.8873 GB, free: 4.059 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003774/0.4235, allocations: 1.425 MB / 0.8887 GB, free: 2.535 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005364/0.4241, allocations: 295.4 kB / 0.889 GB, free: 2.227 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001384/0.4242, allocations: 11.98 kB / 0.889 GB, free: 2.215 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008833/0.4251, allocations: 115.8 kB / 0.8891 GB, free: 2.102 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.61e-05/0.4252, allocations: 39.27 kB / 0.8891 GB, free: 2.066 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.652e-05/0.4253, allocations: 27.94 kB / 0.8891 GB, free: 2.039 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001173/0.4264, allocations: 0.7586 MB / 0.8899 GB, free: 1.273 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.91e-07/0.4265, allocations: 0 / 0.8899 GB, free: 1.273 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001463/0.4279, allocations: 0.5653 MB / 0.8904 GB, free: 0.707 MB / 0.7012 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.004708/0.4326, allocations: 2.864 MB / 0.8932 GB, free: 13.75 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003477/0.4361, allocations: 1.206 MB / 0.8944 GB, free: 12.55 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.473e-06/0.4362, allocations: 192 / 0.8944 GB, free: 12.55 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001155/0.4373, allocations: 402.5 kB / 0.8948 GB, free: 12.16 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002996/0.4403, allocations: 0.5273 MB / 0.8953 GB, free: 11.63 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008301/0.4486, allocations: 5.504 MB / 0.9007 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005523/0.4492, allocations: 1.09 MB / 0.9018 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0009247/0.4501, allocations: 231.2 kB / 0.902 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004824/0.4506, allocations: 419.3 kB / 0.9024 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of SimCode: time 9.52e-07/0.4506, allocations: 0 / 0.9024 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.745/3.196, allocations: 33.85 MB / 0.9354 GB, free: 126.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002013/3.196, allocations: 249 kB / 0.9357 GB, free: 126.4 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.501/5.698, allocations: 4.5 kB / 0.9357 GB, free: 126.4 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/linux/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) Environment - environmentSimulation: