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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,fileNamePrefix="Buildings_maint_7_0_x_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.468/1.468, allocations: 251.9 MB / 266.9 MB, free: 11.07 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.001175/0.001175, allocations: 176 kB / 326.5 MB, free: 2.281 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.794/1.794, allocations: 205.4 MB / 0.5775 GB, free: 20.52 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.0009274/0.0009275, allocations: 96.84 kB / 0.6821 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000351/0.0003513, allocations: 9.875 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2349/0.2352, allocations: 106.3 MB / 0.9001 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.03754/0.2729, allocations: 51.36 MB / 0.9503 GB, free: 12.9 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01211/0.285, allocations: 10.2 MB / 0.9603 GB, free: 2.684 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00221/0.2873, allocations: 51.62 kB / 0.9603 GB, free: 2.633 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.00232/0.2896, allocations: 0.6258 MB / 0.9609 GB, free: 2.004 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.005856/0.2955, allocations: 1.893 MB / 0.9628 GB, free: 108 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.004025/0.2996, allocations: 1.245 MB / 0.964 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.003973/0.3035, allocations: 1.846 MB / 0.9658 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001659/0.3052, allocations: 0.8056 MB / 0.9666 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002946/0.3082, allocations: 0.9769 MB / 0.9675 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001429/0.3097, allocations: 0.6066 MB / 0.9681 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0002706/0.31, allocations: 44 kB / 0.9682 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002753/0.3127, allocations: 0.9906 MB / 0.9691 GB, free: 9.574 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0003054/0.3131, allocations: 203.1 kB / 0.9693 GB, free: 9.375 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0006324/0.3137, allocations: 289 kB / 0.9696 GB, free: 9.086 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002876/0.3166, allocations: 1.579 MB / 0.9711 GB, free: 7.504 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.3166, allocations: 0 / 0.9711 GB, free: 7.504 MB / 0.6198 GB Notification: Performance of FrontEnd: time 4.729e-06/0.3166, allocations: 0 / 0.9711 GB, free: 7.504 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.695e-05/0.3167, allocations: 3.938 kB / 0.9711 GB, free: 7.5 MB / 0.6198 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.003285/0.32, allocations: 1.482 MB / 0.9726 GB, free: 5.957 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.32, allocations: 12.03 kB / 0.9726 GB, free: 5.945 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002479/0.3203, allocations: 126.7 kB / 0.9727 GB, free: 5.812 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002267/0.3226, allocations: 477.8 kB / 0.9732 GB, free: 5.344 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002452/0.325, allocations: 1.059 MB / 0.9742 GB, free: 4.227 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003842/0.3254, allocations: 125.9 kB / 0.9743 GB, free: 4.105 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001429/0.3256, allocations: 84 kB / 0.9744 GB, free: 4.023 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00235/0.328, allocations: 0.9917 MB / 0.9754 GB, free: 2.992 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.875e-05/0.328, allocations: 7.938 kB / 0.9754 GB, free: 2.984 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000124/0.3282, allocations: 35.94 kB / 0.9754 GB, free: 2.949 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.702e-05/0.3282, allocations: 19.95 kB / 0.9754 GB, free: 2.93 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003147/0.3314, allocations: 0.9329 MB / 0.9764 GB, free: 1.996 MB / 0.6198 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.007363/0.3388, allocations: 4.679 MB / 0.9809 GB, free: 13 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003612/0.3424, allocations: 0.9492 MB / 0.9819 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007482/0.3432, allocations: 0.9067 MB / 0.9827 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.598e-05/0.3432, allocations: 39 kB / 0.9828 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=48): time 2.895e-06/0.3432, allocations: 4 kB / 0.9828 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of matching and sorting (n=48): time 0.009498/0.3527, allocations: 2.202 MB / 0.9849 GB, free: 8.656 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/0.3528, allocations: 59.8 kB / 0.985 GB, free: 8.586 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001681/0.3545, allocations: 1.075 MB / 0.986 GB, free: 7.496 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001429/0.3547, allocations: 41.7 kB / 0.9861 GB, free: 7.449 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004556/0.3551, allocations: 0.5119 MB / 0.9866 GB, free: 6.934 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002173/0.3554, allocations: 165.6 kB / 0.9867 GB, free: 6.77 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.379e-05/0.3554, allocations: 12 kB / 0.9867 GB, free: 6.758 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.3556, allocations: 326 kB / 0.9871 GB, free: 6.434 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009553/0.3565, allocations: 336.9 kB / 0.9874 GB, free: 6.105 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0011/0.3576, allocations: 0.5302 MB / 0.9879 GB, free: 5.5 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009835/0.3586, allocations: 364.5 kB / 0.9882 GB, free: 5.141 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.3587, allocations: 4 kB / 0.9882 GB, free: 5.137 MB / 0.6355 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002944/0.3616, allocations: 1.061 MB / 0.9893 GB, free: 4.062 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006527/0.3623, allocations: 1.411 MB / 0.9907 GB, free: 2.551 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.3623, allocations: 4 kB / 0.9907 GB, free: 2.547 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001485/0.3638, allocations: 328.6 kB / 0.991 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006509/0.3645, allocations: 135.8 kB / 0.9911 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001627/0.3661, allocations: 0.9464 MB / 0.992 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001613/0.3677, allocations: 191.3 kB / 0.9922 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001189/0.3679, allocations: 27.98 kB / 0.9922 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.3679, allocations: 4 kB / 0.9922 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002633/0.3705, allocations: 0.9361 MB / 0.9932 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.3706, allocations: 4 kB / 0.9932 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001187/0.3718, allocations: 332.9 kB / 0.9935 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005963/0.3724, allocations: 139.8 kB / 0.9936 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001478/0.3739, allocations: 0.9339 MB / 0.9945 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00135/0.3753, allocations: 175.3 kB / 0.9947 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.712e-05/0.3754, allocations: 31.98 kB / 0.9947 GB, free: 14.33 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 (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.0006506/0.376, allocations: 352.9 kB / 0.9951 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002487/0.3763, allocations: 118.5 kB / 0.9952 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004055/0.3804, allocations: 1.241 MB / 0.9964 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.339e-05/0.3804, allocations: 12 kB / 0.9964 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.3804, allocations: 0 / 0.9964 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.3804, allocations: 3.984 kB / 0.9964 GB, free: 12.58 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005846/0.3863, allocations: 2.37 MB / 0.9987 GB, free: 10.13 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.335e-05/0.3863, allocations: 0 / 0.9987 GB, free: 10.13 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003502/0.3867, allocations: 79.88 kB / 0.9988 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00108/0.3878, allocations: 331.2 kB / 0.9991 GB, free: 9.73 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.456e-05/0.3879, allocations: 16 kB / 0.9991 GB, free: 9.715 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001584/0.3895, allocations: 0.9737 MB / 1 GB, free: 8.715 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.3895, allocations: 0 / 1 GB, free: 8.715 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004145/0.3936, allocations: 1.433 MB / 1.001 GB, free: 7.184 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001013/0.3947, allocations: 299.4 kB / 1.002 GB, free: 6.871 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001876/0.3949, allocations: 8 kB / 1.002 GB, free: 6.863 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001055/0.396, allocations: 115.8 kB / 1.002 GB, free: 6.75 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001429/0.3961, allocations: 39.28 kB / 1.002 GB, free: 6.715 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.723e-05/0.3962, allocations: 31.91 kB / 1.002 GB, free: 6.684 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.00154/0.3978, allocations: 0.7469 MB / 1.003 GB, free: 5.93 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.11e-07/0.3978, allocations: 0 / 1.003 GB, free: 5.93 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001923/0.3997, allocations: 0.5615 MB / 1.003 GB, free: 5.367 MB / 0.6511 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.005779/0.4055, allocations: 2.871 MB / 1.006 GB, free: 2.414 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003522/0.409, allocations: 1.214 MB / 1.007 GB, free: 1.199 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.038e-05/0.4091, allocations: 4 kB / 1.007 GB, free: 1.195 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001022/0.4101, allocations: 398.8 kB / 1.008 GB, free: 0.8086 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002755/0.4129, allocations: 0.5105 MB / 1.008 GB, free: 300 kB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008738/0.4216, allocations: 5.488 MB / 1.013 GB, free: 10.65 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007623/0.4225, allocations: 1.094 MB / 1.015 GB, free: 9.527 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001218/0.4237, allocations: 234.3 kB / 1.015 GB, free: 9.297 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006288/0.4243, allocations: 415.3 kB / 1.015 GB, free: 8.891 MB / 0.6667 GB Notification: Performance of SimCode: time 1.042e-06/0.4244, allocations: 0 / 1.015 GB, free: 8.891 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06607/0.4904, allocations: 33.78 MB / 1.048 GB, free: 7.488 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002546/0.4907, allocations: 278.6 kB / 1.048 GB, free: 7.113 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.018/3.509, allocations: 0 / 1.048 GB, free: 7.113 MB / 0.698 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1)